Skip to content

Commit aa1473b

Browse files
author
root
committed
Examples: Fix iris.rs so that it should compile on stable
1 parent 55d1532 commit aa1473b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/iris.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct Iris {
2323

2424
#[derive(Clone, Debug)]
2525
enum ParseError {
26-
Numeric(<f32 as FromStr>::Err),
26+
Numeric(ParseFloatError),
2727
Other(&'static str),
2828
}
2929

0 commit comments

Comments
 (0)