diff options
| author | Paul Collier <paul@paulcollier.ca> | 2015-01-17 23:55:21 +0000 |
|---|---|---|
| committer | Paul Collier <paul@paulcollier.ca> | 2015-01-18 19:43:44 -0800 |
| commit | 7a24b3a4d7769ad9a4863a2cc61c009056459a67 (patch) | |
| tree | a3cfc7a21498a82b036e28417624a5a64c112c12 /src/libsyntax/parse/parser.rs | |
| parent | d5c83652b33a6e5049699ccc7e6bd6fffb42c2b8 (diff) | |
| download | rust-7a24b3a4d7769ad9a4863a2cc61c009056459a67.tar.gz rust-7a24b3a4d7769ad9a4863a2cc61c009056459a67.zip | |
libsyntax: int => i32 in appropriate places
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 9822dcef0c0..920cfeb3693 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1499,7 +1499,7 @@ impl<'a> Parser<'a> { self.expect(&token::OpenDelim(token::Bracket)); let t = self.parse_ty_sum(); - // Parse the `; e` in `[ int; e ]` + // Parse the `; e` in `[ i32; e ]` // where `e` is a const expression let t = match self.maybe_parse_fixed_length_of_vec() { None => TyVec(t), @@ -4803,7 +4803,7 @@ impl<'a> Parser<'a> { Some(attrs)) } - /// Parse a::B<String,int> + /// Parse a::B<String,i32> fn parse_trait_ref(&mut self) -> TraitRef { ast::TraitRef { path: self.parse_path(LifetimeAndTypesWithoutColons), @@ -4822,7 +4822,7 @@ impl<'a> Parser<'a> { } } - /// Parse for<'l> a::B<String,int> + /// Parse for<'l> a::B<String,i32> fn parse_poly_trait_ref(&mut self) -> PolyTraitRef { let lifetime_defs = self.parse_late_bound_lifetime_defs(); |
