std.crypto: fix invalid pass by value

This commit is contained in:
Veikka Tuominen
2022-06-20 15:11:22 +03:00
parent 8f9b31af92
commit 38a1222c87
5 changed files with 4 additions and 12 deletions

View File

@@ -225,9 +225,6 @@ fn formatIdent(
}
pub fn fmtIdent(ident: []const u8) std.fmt.Formatter(formatIdent) {
if (builtin.zig_backend != .stage1) {
@panic("TODO");
}
return .{ .data = ident };
}