Skip to content

Commit b246afd

Browse files
authored
Merge pull request #1731 from kberov/hof
Misleading textual statement in HOF
2 parents b72a623 + db4003e commit b246afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn/hof.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fn is_odd(n: u32) -> bool {
1010
}
1111
1212
fn main() {
13-
println!("Find the sum of all the squared odd numbers under 1000");
13+
println!("Find the sum of all the numbers with odd squares under 1000");
1414
let upper = 1000;
1515
1616
// Imperative approach

0 commit comments

Comments
 (0)