diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-11-05 15:10:24 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-11-05 15:10:24 -0500 |
| commit | ad550b8ef32e336ad74a87669de041eba9f7d1c6 (patch) | |
| tree | 9846d3ad950c864884df163aa6feae07d8b97e01 /src/libsyntax/parse/parser/path.rs | |
| parent | 1423bec54cf2db283b614e527cfd602b481485d1 (diff) | |
| download | rust-ad550b8ef32e336ad74a87669de041eba9f7d1c6.tar.gz rust-ad550b8ef32e336ad74a87669de041eba9f7d1c6.zip | |
use American spelling for `pluralize!`
Diffstat (limited to 'src/libsyntax/parse/parser/path.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/path.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser/path.rs b/src/libsyntax/parse/parser/path.rs index 38a28224dab..f9944e36e2f 100644 --- a/src/libsyntax/parse/parser/path.rs +++ b/src/libsyntax/parse/parser/path.rs @@ -9,7 +9,7 @@ use crate::symbol::kw; use std::mem; use log::debug; -use errors::{Applicability, pluralise}; +use errors::{Applicability, pluralize}; /// Specifies how to parse a path. #[derive(Copy, Clone, PartialEq)] @@ -368,14 +368,14 @@ impl<'a> Parser<'a> { span, &format!( "unmatched angle bracket{}", - pluralise!(snapshot.unmatched_angle_bracket_count) + pluralize!(snapshot.unmatched_angle_bracket_count) ), ) .span_suggestion( span, &format!( "remove extra angle bracket{}", - pluralise!(snapshot.unmatched_angle_bracket_count) + pluralize!(snapshot.unmatched_angle_bracket_count) ), String::new(), Applicability::MachineApplicable, |
