Mercurial > crates > nonstick
view .hgtags @ 143:ebb71a412b58
Turn everything into OsString and Just Walk Out! for strings with nul.
To reduce the hazard surface of the API, this replaces most uses of &str
with &OsStr (and likewise with String/OsString).
Also, I've decided that instead of dealing with callers putting `\0`
in their parameters, I'm going to follow the example of std::env and
Just Walk Out! (i.e., panic!()).
This makes things a lot less annoying for both me and (hopefully) users.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 05 Jul 2025 22:12:46 -0400 |
parents | e4e7d68234d0 |
children |
line wrap: on
line source
350579171e1ff1cef0f1ec1d649cb6df29218952 v0.0.1 bc5e18fa9c7a661b70bc73bdca3520a16cb2ebbc v0.0.2 52f1102e0715e92afeda3c3d859c1cb94a23c4d5 v0.0.3 2a5c83d04b93ef27b1c59d52a0aff46febd920ab v0.0.4 bbe84835d6db43d15b831fbec1c914139c3d8eaf v0.0.5 71e432a213ee099a94655464845c10cdc2e84034 v0.0.6