File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4376,7 +4376,7 @@ impl u8 {
43764376 #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
43774377 #[ inline]
43784378 pub fn to_ascii_uppercase ( & self ) -> u8 {
4379- // Unset the fith bit if this is a lowercase letter
4379+ // Unset the fifth bit if this is a lowercase letter
43804380 * self & !( ( self . is_ascii_lowercase ( ) as u8 ) << 5 )
43814381 }
43824382
@@ -4399,7 +4399,7 @@ impl u8 {
43994399 #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
44004400 #[ inline]
44014401 pub fn to_ascii_lowercase ( & self ) -> u8 {
4402- // Set the fith bit if this is an uppercase letter
4402+ // Set the fifth bit if this is an uppercase letter
44034403 * self | ( ( self . is_ascii_uppercase ( ) as u8 ) << 5 )
44044404 }
44054405
You can’t perform that action at this time.
0 commit comments