diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-06 07:03:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-06 07:03:14 +0100 |
| commit | 4f9651b85409a1e6ad5199211947d124ebbab935 (patch) | |
| tree | 4d022868d407cf1bed36883037e4e97d1fa5094a /src/libsyntax_expand | |
| parent | 7f7218fd2102a084b0fbfd08abe6e200c9da4409 (diff) | |
| parent | ad550b8ef32e336ad74a87669de041eba9f7d1c6 (diff) | |
| download | rust-4f9651b85409a1e6ad5199211947d124ebbab935.tar.gz rust-4f9651b85409a1e6ad5199211947d124ebbab935.zip | |
Rollup merge of #66139 - euclio:pluralize, r=nagisa
use American spelling for `pluralize!`
Diffstat (limited to 'src/libsyntax_expand')
| -rw-r--r-- | src/libsyntax_expand/mbe/transcribe.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax_expand/mbe/transcribe.rs b/src/libsyntax_expand/mbe/transcribe.rs index 94523bbf91b..6f060103ef4 100644 --- a/src/libsyntax_expand/mbe/transcribe.rs +++ b/src/libsyntax_expand/mbe/transcribe.rs @@ -9,7 +9,7 @@ use syntax::tokenstream::{DelimSpan, TokenStream, TokenTree, TreeAndJoint}; use smallvec::{smallvec, SmallVec}; -use errors::pluralise; +use errors::pluralize; use rustc_data_structures::fx::FxHashMap; use rustc_data_structures::sync::Lrc; use syntax_pos::hygiene::{ExpnId, Transparency}; @@ -350,10 +350,10 @@ impl LockstepIterSize { "meta-variable `{}` repeats {} time{}, but `{}` repeats {} time{}", l_id, l_len, - pluralise!(l_len), + pluralize!(l_len), r_id, r_len, - pluralise!(r_len), + pluralize!(r_len), ); LockstepIterSize::Contradiction(msg) } |
