zig fmt src/safe_url.zig
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user