File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,8 +193,8 @@ fn typeContainsSlice(comptime K: type) bool {
193
193
pub fn autoHash (hasher : anytype , key : anytype ) void {
194
194
const Key = @TypeOf (key );
195
195
if (comptime typeContainsSlice (Key )) {
196
- @compileError ("std.auto_hash .autoHash does not allow slices as well as unions and structs containing slices here (" ++ @typeName (Key ) ++
197
- ") because the intent is unclear. Consider using std.auto_hash. hash or providing your own hash function instead." );
196
+ @compileError ("std.hash .autoHash does not allow slices as well as unions and structs containing slices here (" ++ @typeName (Key ) ++
197
+ ") because the intent is unclear. Consider using std.hash.autoHashStrat or providing your own hash function instead." );
198
198
}
199
199
200
200
hash (hasher , key , .Shallow );
You can’t perform that action at this time.
0 commit comments