We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Given this code,
fn difference(counts: &HashMap<(char, char), u64>, last: char) -> u64 { // ... }
try to turn the function into a closure. You'll get:
let difference = (counts: &HashMap<(char, char);, u64>, last: char) -> u64 {
Probably unactionable given the incorrect code, though.