mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 03:27:44 +00:00
![]() Implemented `FromStr` for `CString` and `TryFrom<CString>` for `String` The motivation of this change is making it possible to use `CString` in generic methods with `FromStr` and `TryInto<String>` trait bounds. The same traits are already implemented for `OsString` which is an FFI type too. |
||
---|---|---|
.. | ||
c_str | ||
c_str.rs | ||
mod.rs |