]> git.lizzy.rs Git - rust.git/commit
OsStr: Document that it's not NUL terminated
authorColin Walters <walters@verbum.org>
Tue, 18 Sep 2018 01:10:36 +0000 (21:10 -0400)
committerColin Walters <walters@verbum.org>
Tue, 18 Sep 2018 01:10:36 +0000 (21:10 -0400)
commit993d02283ec9802ad413069dcdbbf9ef464b636e
tree0f4370bd417a87c03f592766163d7aeb48343e21
parent186fe091434b4c20c160b8098a56bb6a841bf6b1
OsStr: Document that it's not NUL terminated

I somehow got confused into thinking this was the case, but
it's definitely not.  Let's help the common case of people who
have an `OsStr` and need to call e.g. Unix APIs.
src/libstd/ffi/os_str.rs