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.
2 parents 31765d4 + 75b7ec3 commit 219aa2dCopy full SHA for 219aa2d
rust/src/private.rs
@@ -11,7 +11,7 @@ pub fn code_value(chr: char) -> usize {
11
// We assume this function is only called by other functions that have
12
// already ensured that the characters in the passed-in code are all valid
13
// and have all been "treated" (upper-cased, padding and '+' stripped)
14
- CODE_ALPHABET.iter().position(|&x| x == char).unwrap()
+ CODE_ALPHABET.iter().position(|&x| x == chr).unwrap()
15
}
16
17
pub fn normalize_longitude(value: f64) -> f64 {
0 commit comments