summary refs log tree commit diff
path: root/src/libsyntax/parse/mod.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-03-07 03:10:52 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-03-12 08:02:32 +0100
commit189c0085d19c2cbd8e3b6ca8274e2cab60aad515 (patch)
tree4fa2100ae551ed65fbf4c138dd9c53253229f559 /src/libsyntax/parse/mod.rs
parent460ca4f037e4896f103889b694dd2971e3141eac (diff)
downloadrust-189c0085d19c2cbd8e3b6ca8274e2cab60aad515.tar.gz
rust-189c0085d19c2cbd8e3b6ca8274e2cab60aad515.zip
alpha-rename .ident to .name in Lifetime, including in rustdoc.
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
-rw-r--r--src/libsyntax/parse/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 9e5db1770bf..b6f813269cf 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -323,7 +323,7 @@ mod test {
                         segments: vec!(
                             ast::PathSegment {
                                 identifier: str_to_ident("a"),
-                                lifetimes: opt_vec::Empty,
+                                lifetimes: Vec::new(),
                                 types: opt_vec::Empty,
                             }
                         ),
@@ -342,12 +342,12 @@ mod test {
                             segments: vec!(
                                 ast::PathSegment {
                                     identifier: str_to_ident("a"),
-                                    lifetimes: opt_vec::Empty,
+                                    lifetimes: Vec::new(),
                                     types: opt_vec::Empty,
                                 },
                                 ast::PathSegment {
                                     identifier: str_to_ident("b"),
-                                    lifetimes: opt_vec::Empty,
+                                    lifetimes: Vec::new(),
                                     types: opt_vec::Empty,
                                 }
                             )