about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-10-14 00:25:34 +0800
committerRageking8 <tomleetyt@gmail.com>2022-10-14 12:57:56 +0800
commit7122abaddf2cf10ce26f86305ff540ae5b38c097 (patch)
tree0b15091f50495c8af2c553c1efee8cd286506a4f /compiler/rustc_expand/src
parent4891d57f7aab37b5d6a84f2901c0bb8903111d53 (diff)
downloadrust-7122abaddf2cf10ce26f86305ff540ae5b38c097.tar.gz
rust-7122abaddf2cf10ce26f86305ff540ae5b38c097.zip
more dupe word typos
Diffstat (limited to 'compiler/rustc_expand/src')
-rw-r--r--compiler/rustc_expand/src/expand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/expand.rs b/compiler/rustc_expand/src/expand.rs
index c2add852a06..59f434b941e 100644
--- a/compiler/rustc_expand/src/expand.rs
+++ b/compiler/rustc_expand/src/expand.rs
@@ -327,7 +327,7 @@ impl InvocationKind {
     fn placeholder_visibility(&self) -> Option<ast::Visibility> {
         // HACK: For unnamed fields placeholders should have the same visibility as the actual
         // fields because for tuple structs/variants resolve determines visibilities of their
-        // constructor using these field visibilities before attributes on them are are expanded.
+        // constructor using these field visibilities before attributes on them are expanded.
         // The assumption is that the attribute expansion cannot change field visibilities,
         // and it holds because only inert attributes are supported in this position.
         match self {