about summary refs log tree commit diff
path: root/src/libsyntax/config.rs
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/libsyntax/config.rs
parent64cd30e0cacb6b509f9368004afb0b6bde7a5143 (diff)
downloadrust-9ea84aeed4ed3006eddb6a7b24e9714f2844cd22.tar.gz
rust-9ea84aeed4ed3006eddb6a7b24e9714f2844cd22.zip
Replace all uses of `&foo[]` with `&foo[..]` en masse.
Diffstat (limited to 'src/libsyntax/config.rs')
-rw-r--r--src/libsyntax/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs
index 7ca0591be50..dfe3477bddc 100644
--- a/src/libsyntax/config.rs
+++ b/src/libsyntax/config.rs
@@ -311,7 +311,7 @@ impl<'a> fold::Folder for CfgAttrFolder<'a> {
             }
         };
 
-        if attr::cfg_matches(self.diag, &self.config[], &cfg) {
+        if attr::cfg_matches(self.diag, &self.config[..], &cfg) {
             Some(respan(mi.span, ast::Attribute_ {
                 id: attr::mk_attr_id(),
                 style: attr.node.style,