Fix a whitespace typo
This commit is contained in:
parent
87c78fd7e3
commit
a011b2273e
@ -688,7 +688,7 @@ pub unsafe fn shift_byte(&mut self) -> Option<u8> {
|
|||||||
/// assert_eq!(s.shift_char(), Some('o'));
|
/// assert_eq!(s.shift_char(), Some('o'));
|
||||||
/// assert_eq!(s.shift_char(), None);
|
/// assert_eq!(s.shift_char(), None);
|
||||||
/// ```
|
/// ```
|
||||||
pub fn shift_char (&mut self) -> Option<char> {
|
pub fn shift_char(&mut self) -> Option<char> {
|
||||||
let len = self.len();
|
let len = self.len();
|
||||||
if len == 0 {
|
if len == 0 {
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user