about summary refs log tree commit diff
path: root/src/libsyntax/util/small_vector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/util/small_vector.rs')
-rw-r--r--src/libsyntax/util/small_vector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs
index 6803bb1eaf9..f6040612961 100644
--- a/src/libsyntax/util/small_vector.rs
+++ b/src/libsyntax/util/small_vector.rs
@@ -68,7 +68,7 @@ impl<T> SmallVector<T> {
         match *self {
             One(ref v) if idx == 0 => v,
             Many(ref vs) => &vs[idx],
-            _ => fail!("Out of bounds access")
+            _ => fail!("out of bounds access")
         }
     }