wuffsfmt: double-indents hanging lines

This commit is contained in:
Nigel Tao committed 2023-04-09 15:22:25 +10:00
1 parent d910658bce
commit 9c03b8c71d
40 files changed
+2579 -2571

No files matched your search

+5 -5
View File
@@ -14,8 +14,8 @@
// TODO: drop the '?' but still generate wuffs_adler32__hasher__initialize?
pub struct hasher? implements base.hasher_u32(
state : base.u32,
started : base.bool,
state : base.u32,
started : base.bool,
)
pub func hasher.set_quirk_enabled!(quirk: base.u32, enabled: base.bool) {
@@ -30,15 +30,15 @@ pub func hasher.update_u32!(x: slice base.u8) base.u32 {
// std/zlib and std/png micro-benchmarks worse. See commit baec831f
// "Add std/adler32 hasher.up_x86_avx2".
choose up = [
up_arm_neon,
up_x86_sse42]
up_arm_neon,
up_x86_sse42]
}
this.up!(x: args.x)
return this.state
}
pri func hasher.up!(x: slice base.u8),
choosy,
choosy,
{
// The Adler-32 checksum's magic 65521 and 5552 numbers are discussed in
// this package's README.md.