Compare commits

...

2 commits

Author SHA1 Message Date
6900c77a32 Add zig fmt step
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 04:54:25 -08:00
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 lfs: false
pipeline: 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: unit-tests:
image: alpine image: alpine
commands: commands:

View file

@ -68,7 +68,7 @@ pub const Iter = struct {
/// + pub fn parse([]const u8) !F /// + pub fn parse([]const u8) !F
/// ///
/// Boolean Parameters: /// 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`: /// parameter `foo: bool = false`:
/// - `?foo` /// - `?foo`
/// - `?foo=true` /// - `?foo=true`