Compare commits

...

2 Commits

Author SHA1 Message Date
jaina heartles 6900c77a32 Add zig fmt step
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 04:54:25 -08:00
jaina heartles 469df7bfcd Zig fmt 2022-12-18 04:51:23 -08:00
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@ clone:
lfs: false
pipeline:
fmt:
image: alpine
- curl https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz | xz -d | tar -x
- ./zig-linux-x86_64-0.10.0/zig fmt --check src/ tests/ build.zig
unit-tests:
image: alpine
commands:

View File

@ -68,7 +68,7 @@ pub const Iter = struct {
/// + pub fn parse([]const u8) !F
///
/// Boolean Parameters:
/// The following query strings will all parse a `true` value for the
/// The following query strings will all parse a `true` value for the
/// parameter `foo: bool = false`:
/// - `?foo`
/// - `?foo=true`