Fix a whitespace typo

This commit is contained in:
Erick Tryzelaar 2014-07-16 19:52:04 -07:00
parent 87c78fd7e3
commit a011b2273e

View File

@ -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(), None);
/// ```
pub fn shift_char (&mut self) -> Option<char> {
pub fn shift_char(&mut self) -> Option<char> {
let len = self.len();
if len == 0 {
return None