rust/library/alloc/src/ffi
Matthias Krüger 3a00d35c5d
Rollup merge of #130608 - YohDeadfall:cstr-from-into-str, r=workingjubilee
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.
2024-10-15 05:12:34 +02:00
..
c_str Reformat use declarations. 2024-07-29 08:26:52 +10:00
c_str.rs Rollup merge of #130608 - YohDeadfall:cstr-from-into-str, r=workingjubilee 2024-10-15 05:12:34 +02:00
mod.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00