mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
3a00d35c5d
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.