about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2018-09-12 15:21:50 +1200
committerNick Cameron <ncameron@mozilla.com>2018-10-26 09:50:51 +1300
commit59cb1705d790ac15d336525c4e2aa5bf5c9cf104 (patch)
tree7430280baeb662e438507e5eae84d396d76c33c2 /src/libsyntax/parse/parser.rs
parent8ac32726100c58ca66f3da6e35b423c17fc96a4f (diff)
downloadrust-59cb1705d790ac15d336525c4e2aa5bf5c9cf104.tar.gz
rust-59cb1705d790ac15d336525c4e2aa5bf5c9cf104.zip
rebasing and reviewer changes
Primarily refactoring `(Ident, Option<NodeId>)` to `Segment`
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 619a53e1c7c..589b3e30fcf 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2137,7 +2137,7 @@ impl<'a> Parser<'a> {
             PathSegment { ident, args, id: ast::DUMMY_NODE_ID }
         } else {
             // Generic arguments are not found.
-            PathSegment::from_ident(ident,)
+            PathSegment::from_ident(ident)
         })
     }