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 {
4376
4376
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
4377
4377
#[ inline]
4378
4378
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
4380
4380
* self & !( ( self . is_ascii_lowercase ( ) as u8 ) << 5 )
4381
4381
}
4382
4382
@@ -4399,7 +4399,7 @@ impl u8 {
4399
4399
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
4400
4400
#[ inline]
4401
4401
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
4403
4403
* self | ( ( self . is_ascii_uppercase ( ) as u8 ) << 5 )
4404
4404
}
4405
4405
You can’t perform that action at this time.
0 commit comments