lint: correct reported typos (including a rename)
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 26s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 26s
This commit is contained in:
@@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void {
|
|||||||
const Examples = enum {
|
const Examples = enum {
|
||||||
all,
|
all,
|
||||||
demo,
|
demo,
|
||||||
continous,
|
continuous,
|
||||||
// elements:
|
// elements:
|
||||||
alignment,
|
alignment,
|
||||||
button,
|
button,
|
||||||
@@ -55,7 +55,7 @@ pub fn build(b: *std.Build) void {
|
|||||||
.name = e.name,
|
.name = e.name,
|
||||||
.root_source_file = b.path(switch (@as(Examples, @enumFromInt(e.value))) {
|
.root_source_file = b.path(switch (@as(Examples, @enumFromInt(e.value))) {
|
||||||
.demo => "examples/demo.zig",
|
.demo => "examples/demo.zig",
|
||||||
.continous => "examples/continous.zig",
|
.continuous => "examples/continuous.zig",
|
||||||
// elements:
|
// elements:
|
||||||
.alignment => "examples/elements/alignment.zig",
|
.alignment => "examples/elements/alignment.zig",
|
||||||
.button => "examples/elements/button.zig",
|
.button => "examples/elements/button.zig",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const QuitText = struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/// Spinner element implementation that runs a simple animation that requires
|
/// Spinner element implementation that runs a simple animation that requires
|
||||||
/// the continous draw loop.
|
/// the continuous draw loop.
|
||||||
const Spinner = struct {
|
const Spinner = struct {
|
||||||
counter: u8 = 0,
|
counter: u8 = 0,
|
||||||
index: u8 = 0,
|
index: u8 = 0,
|
||||||
Reference in New Issue
Block a user