diff options
-rw-r--r-- | src/gleam/float.gleam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/float.gleam b/src/gleam/float.gleam index 8018c95..f3944f3 100644 --- a/src/gleam/float.gleam +++ b/src/gleam/float.gleam @@ -9,10 +9,10 @@ pub type Float = /// /// ## Examples /// > parse("2.3") -/// Some(2.3) +/// Ok(2.3) /// /// > parse("ABC") -/// None +/// Error(Nil) /// pub external fn parse(String) -> Result(Float, Nil) = "gleam_stdlib" "parse_float" |