zig fmt src/safe_url.zig

This commit is contained in:
2026-08-07 01:28:08 +02:00
parent f47967ec0d
commit f2898479d4
-1
View File
@@ -326,7 +326,6 @@ pub fn redact(url: []const u8) SafeUrl {
return .{ .scheme = scheme, .authority = cut(authority[at + 1 ..]) }; return .{ .scheme = scheme, .authority = cut(authority[at + 1 ..]) };
} }
/// `text` up to the first `?`, `#` or `\`, each of which ends an authority. A /// `text` up to the first `?`, `#` or `\`, each of which ends an authority. A
/// `\` is here rather than in `redact`'s `/` cut because the `/` cut runs before /// `\` is here rather than in `redact`'s `/` cut because the `/` cut runs before
/// the userinfo is located and a `\` before an `@` is not a separator under /// the userinfo is located and a `\` before an `@` is not a separator under