about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-15 05:12:34 +0200
committerGitHub <noreply@github.com>2024-10-15 05:12:34 +0200
commit3a00d35c5d36e2904fab770248d5009e7894bfdc (patch)
tree40dba44ec3657ee329de60d9721190efc67ef9fe /compiler/rustc_pattern_analysis/src
parent9322d183f45e0fd5a509820874cc5ff27744a479 (diff)
parent302551388b1942bb4216bb5a15d9d55cee3643a8 (diff)
downloadrust-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