about summary refs log tree commit diff
path: root/compiler/rustc_ast
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-23 12:26:40 +0100
committerGitHub <noreply@github.com>2022-02-23 12:26:40 +0100
commit0c676a8a8475f9b702a4d1ed7e5569c7eee6c799 (patch)
tree9d9721deacd6522d2310a835a4f08a04a870ed89 /compiler/rustc_ast
parentc651ba8a542c7d89b271efbf024a31091c824f4b (diff)
parent997492538b5db29ca3e350f18ab1ca1fab0dadff (diff)
downloadrust-0c676a8a8475f9b702a4d1ed7e5569c7eee6c799.tar.gz
rust-0c676a8a8475f9b702a4d1ed7e5569c7eee6c799.zip
Rollup merge of #94128 - mqy:master, r=Dylan-DPC
rustdoc: several minor fixes

``@rustbot`` label A-docs
Diffstat (limited to 'compiler/rustc_ast')
-rw-r--r--compiler/rustc_ast/src/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs
index e9135b71630..e616a09024c 100644
--- a/compiler/rustc_ast/src/ast.rs
+++ b/compiler/rustc_ast/src/ast.rs
@@ -285,7 +285,7 @@ impl ParenthesizedArgs {
 
 pub use crate::node_id::{NodeId, CRATE_NODE_ID, DUMMY_NODE_ID};
 
-/// A modifier on a bound, e.g., `?Sized` or `~const Trait`.
+/// A modifier on a bound, e.g., `?Trait` or `~const Trait`.
 ///
 /// Negative bounds should also be handled here.
 #[derive(Copy, Clone, PartialEq, Eq, Encodable, Decodable, Debug)]