Skip to content

Commit a011b22

Browse files
committed
Fix a whitespace typo
1 parent 87c78fd commit a011b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ impl String {
688688
/// assert_eq!(s.shift_char(), Some('o'));
689689
/// assert_eq!(s.shift_char(), None);
690690
/// ```
691-
pub fn shift_char (&mut self) -> Option<char> {
691+
pub fn shift_char(&mut self) -> Option<char> {
692692
let len = self.len();
693693
if len == 0 {
694694
return None

0 commit comments

Comments
 (0)