diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-15 05:12:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 05:12:34 +0200 |
| commit | 3a00d35c5d36e2904fab770248d5009e7894bfdc (patch) | |
| tree | 40dba44ec3657ee329de60d9721190efc67ef9fe /compiler/rustc_pattern_analysis/src | |
| parent | 9322d183f45e0fd5a509820874cc5ff27744a479 (diff) | |
| parent | 302551388b1942bb4216bb5a15d9d55cee3643a8 (diff) | |
| download | rust-3a00d35c5d36e2904fab770248d5009e7894bfdc.tar.gz rust-3a00d35c5d36e2904fab770248d5009e7894bfdc.zip | |
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.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
