about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/diagnostics.rs
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2019-11-05 15:10:24 -0500
committerAndy Russell <arussell123@gmail.com>2019-11-05 15:10:24 -0500
commitad550b8ef32e336ad74a87669de041eba9f7d1c6 (patch)
tree9846d3ad950c864884df163aa6feae07d8b97e01 /src/libsyntax/parse/parser/diagnostics.rs
parent1423bec54cf2db283b614e527cfd602b481485d1 (diff)
downloadrust-ad550b8ef32e336ad74a87669de041eba9f7d1c6.tar.gz
rust-ad550b8ef32e336ad74a87669de041eba9f7d1c6.zip
use American spelling for `pluralize!`
Diffstat (limited to 'src/libsyntax/parse/parser/diagnostics.rs')
-rw-r--r--src/libsyntax/parse/parser/diagnostics.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser/diagnostics.rs b/src/libsyntax/parse/parser/diagnostics.rs
index fcf3b4c0aa8..376916c371f 100644
--- a/src/libsyntax/parse/parser/diagnostics.rs
+++ b/src/libsyntax/parse/parser/diagnostics.rs
@@ -12,7 +12,7 @@ use crate::ptr::P;
 use crate::symbol::{kw, sym};
 use crate::ThinVec;
 use crate::util::parser::AssocOp;
-use errors::{Applicability, DiagnosticBuilder, DiagnosticId, pluralise};
+use errors::{Applicability, DiagnosticBuilder, DiagnosticId, pluralize};
 use rustc_data_structures::fx::FxHashSet;
 use syntax_pos::{Span, DUMMY_SP, MultiSpan, SpanSnippetError};
 use log::{debug, trace};
@@ -515,11 +515,11 @@ impl<'a> Parser<'a> {
             self.diagnostic()
                 .struct_span_err(
                     span,
-                    &format!("unmatched angle bracket{}", pluralise!(total_num_of_gt)),
+                    &format!("unmatched angle bracket{}", pluralize!(total_num_of_gt)),
                 )
                 .span_suggestion(
                     span,
-                    &format!("remove extra angle bracket{}", pluralise!(total_num_of_gt)),
+                    &format!("remove extra angle bracket{}", pluralize!(total_num_of_gt)),
                     String::new(),
                     Applicability::MachineApplicable,
                 )