pub inline fn initComptime(comptime s: []const u8) Utf8View
s: []const u8
378 379 380 381 382 383 384
pub inline fn initComptime(comptime s: []const u8) Utf8View { return comptime if (init(s)) |r| r else |err| switch (err) { error.InvalidUtf8 => { @compileError("invalid utf8"); }, }; }