lint: correct formatting
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 59s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 59s
This commit is contained in:
@@ -6,7 +6,6 @@ pub fn Website(App: type) type {
|
|||||||
return .{ .gpa = gpa };
|
return .{ .gpa = gpa };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub fn element(this: *@This()) App.Element {
|
pub fn element(this: *@This()) App.Element {
|
||||||
return .{
|
return .{
|
||||||
.ptr = this,
|
.ptr = this,
|
||||||
@@ -83,7 +82,7 @@ pub fn Content(App: type) type {
|
|||||||
}
|
}
|
||||||
if (text[index - 1] != '\n') {
|
if (text[index - 1] != '\n') {
|
||||||
// go to the end of the line
|
// go to the end of the line
|
||||||
while (index < text.len and text[index] != '\n') index +=1;
|
while (index < text.len and text[index] != '\n') index += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user