fix(lint): correct typos
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m1s

This commit is contained in:
2025-11-02 13:17:52 +01:00
parent 69da9265b8
commit f43034cea9
3 changed files with 6 additions and 3 deletions

View File

@@ -1,2 +1,5 @@
[files] [files]
extend-exclude = [] extend-exclude = []
[default.extend-words]
WRONLY = "WRONLY"

View File

@@ -13,7 +13,7 @@ Add or update this library as a dependency in your zig project run the following
zig fetch --save git+https://gitea.yves-biener.de/yves-biener/zlog zig fetch --save git+https://gitea.yves-biener.de/yves-biener/zlog
``` ```
Afterwards add the library as a dependendy to any module in your *build.zig*: Afterwards add the library as a dependency to any module in your *build.zig*:
```zig ```zig
const ztime_dependency = b.dependency("ztime", .{ const ztime_dependency = b.dependency("ztime", .{
@@ -78,7 +78,7 @@ const Struct = struct {
}; };
pub fn main() void { pub fn main() void {
// without explict scope (i.e. `.default` scope) // without explicit scope (i.e. `.default` scope)
std.log.info("Without explicit scope or `.default` scope", .{}); std.log.info("Without explicit scope or `.default` scope", .{});
// initialize zlog with the scope of `main` // initialize zlog with the scope of `main`
const log = std.log.scoped(.main); const log = std.log.scoped(.main);

View File

@@ -46,7 +46,7 @@ const Struct = struct {
}; };
pub fn main() void { pub fn main() void {
// without explict scope (i.e. `.default` scope) // without explicit scope (i.e. `.default` scope)
std.log.info("Without explicit scope or `.default` scope", .{}); std.log.info("Without explicit scope or `.default` scope", .{});
// initialize zlog with the scope of `main` // initialize zlog with the scope of `main`
const log = std.log.scoped(.main); const log = std.log.scoped(.main);