about summary refs log tree commit diff
path: root/src/libextra/base64.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libextra/base64.rs')
-rw-r--r--src/libextra/base64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/base64.rs b/src/libextra/base64.rs
index ed366047c84..2b18c27f560 100644
--- a/src/libextra/base64.rs
+++ b/src/libextra/base64.rs
@@ -200,7 +200,7 @@ impl<'self> FromBase64 for &'self str {
                 '0'..'9' => buf |= val + 0x04,
                 '+'|'-' => buf |= 0x3E,
                 '/'|'_' => buf |= 0x3F,
-                '\r'|'\n' => loop,
+                '\r'|'\n' => continue,
                 '=' => break,
                 _ => return Err(format!("Invalid character '{}' at position {}",
                                      self.char_at(idx), idx))