1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-10 11:10:26 +02:00

Merge pull request #594 from xakon/fix/try_from_into

feat(try_from_into): remove duplicate annotation
This commit is contained in:
fmoko 2020-12-03 18:23:48 +01:00 committed by GitHub
commit af0e3b8f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,6 @@ mod tests {
assert!(c.is_err());
}
#[test]
#[test]
fn test_array_correct() {
let c: Result<Color, String> = [183, 65, 14].try_into();
assert_eq!(