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.
AsciiExt::to_ascii_lowercase()
1 parent 206dd96 commit 9289c55Copy full SHA for 9289c55
RELEASES.md
@@ -1,3 +1,7 @@
1
+Unreleased
2
+==========
3
+* Fix the implementation of `AsciiExt::to_ascii_lowercase()` for `AsciiChar` converting to uppercase. (introduced in 0.7.0)
4
+
5
Version 0.7.0 (2016-06-25)
6
==========
7
* Rename `Ascii` to `AsciiChar` and convert it into an enum. (with a variant for every ASCII character)
src/ascii_char.rs
@@ -477,7 +477,7 @@ impl AsciiExt for AsciiChar {
477
}
478
479
fn to_ascii_lowercase(&self) -> AsciiChar {
480
- unsafe{ self.as_byte().to_ascii_uppercase().to_ascii_char_unchecked() }
+ unsafe{ self.as_byte().to_ascii_lowercase().to_ascii_char_unchecked() }
481
482
483
fn eq_ignore_ascii_case(&self, other: &Self) -> bool {
0 commit comments