about summary refs log tree commit diff
path: root/src/libcore/str
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-02-18 14:48:57 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-18 17:36:03 -0500
commit9ea84aeed4ed3006eddb6a7b24e9714f2844cd22 (patch)
tree566226c57e31172bd55c585a18651130786af96c /src/libcore/str
parent64cd30e0cacb6b509f9368004afb0b6bde7a5143 (diff)
downloadrust-9ea84aeed4ed3006eddb6a7b24e9714f2844cd22.tar.gz
rust-9ea84aeed4ed3006eddb6a7b24e9714f2844cd22.zip
Replace all uses of `&foo[]` with `&foo[..]` en masse.
Diffstat (limited to 'src/libcore/str')
-rw-r--r--src/libcore/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index ce26abe606d..eec997b9f10 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -1280,7 +1280,7 @@ mod traits {
 /// Any string that can be represented as a slice
 #[unstable(feature = "core",
            reason = "Instead of taking this bound generically, this trait will be \
-                     replaced with one of slicing syntax (&foo[]), deref coercions, or \
+                     replaced with one of slicing syntax (&foo[..]), deref coercions, or \
                      a more generic conversion trait")]
 pub trait Str {
     /// Work with `self` as a slice.