| ... | ... | @@ -332,7 +332,7 @@ pub fn Sentinel(comptime T: type, comptime sentinel_val: Elem(T)) type { |
| 332 | 332 | @compileError("Unable to derive a sentinel pointer type from " ++ @typeName(T)); |
| 333 | 333 | } |
| 334 | 334 | |
| 335 | | const assumeSentinel = @compileError("This function has been removed, consider using std.mem.sliceTo() or if needed a @ptrCast()"); |
| 335 | pub const assumeSentinel = @compileError("This function has been removed, consider using std.mem.sliceTo() or if needed a @ptrCast()"); |
| 336 | 336 | |
| 337 | 337 | pub fn containerLayout(comptime T: type) Type.ContainerLayout { |
| 338 | 338 | return switch (@typeInfo(T)) { |