We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0edfce commit 414ee9aCopy full SHA for 414ee9a
src/libcore/tests/char.rs
@@ -32,7 +32,6 @@ fn test_convert() {
32
#[test]
33
fn test_from_str() {
34
assert_eq!(char::from_str("a").unwrap(), 'a');
35
- assert_eq!(char::try_from("a").unwrap(), 'a');
36
assert_eq!(char::from_str("\0").unwrap(), '\0');
37
assert_eq!(char::from_str("\u{D7FF}").unwrap(), '\u{d7FF}');
38
assert!(char::from_str("").is_err());
0 commit comments