Skip to content

Commit

Permalink
Merge pull request #1731 from kberov/hof
Browse files Browse the repository at this point in the history
Misleading textual statement in HOF
  • Loading branch information
marioidival authored Sep 26, 2023
2 parents b72a623 + db4003e commit b246afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fn/hof.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn is_odd(n: u32) -> bool {
}
fn main() {
println!("Find the sum of all the squared odd numbers under 1000");
println!("Find the sum of all the numbers with odd squares under 1000");
let upper = 1000;
// Imperative approach
Expand Down

0 comments on commit b246afd

Please sign in to comment.