Skip to content

Commit

Permalink
Fix typo in introduction.md
Browse files Browse the repository at this point in the history
  • Loading branch information
geri1701 authored Feb 11, 2024
1 parent 911d2cf commit a340f03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/valentines-day/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ import gleam/float
pub fn describe(number: Number) -> String {
case flexibleNumber {
SomeFloat(f) -> "Float: " ++ float.to_string(f)
SomeInt(i) -> "Int: " ++ int.to_string(i)
SomeFloat(f) -> "Float: " <> float.to_string(f)
SomeInt(i) -> "Int: " <> int.to_string(i)
Invalid -> "Neither a float nor an int"
}
}
Expand Down

0 comments on commit a340f03

Please sign in to comment.