mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-28 08:16:29 +00:00
feat(try_from_into): remove duplicate annotation
This commit is contained in:
parent
5aa467bef2
commit
04f1d079aa
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ mod tests {
|
||||||
assert!(c.is_err());
|
assert!(c.is_err());
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
#[test]
|
|
||||||
fn test_array_correct() {
|
fn test_array_correct() {
|
||||||
let c: Result<Color, String> = [183, 65, 14].try_into();
|
let c: Result<Color, String> = [183, 65, 14].try_into();
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
|
|
Loading…
Reference in a new issue