about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnthony Ramine <nox@nox.paris>2020-09-12 13:27:57 +0200
committerAnthony Ramine <nox@nox.paris>2020-09-12 18:35:57 +0200
commit75f0f7af3172cedaa01e9bf066c06017bfe9a426 (patch)
tree09fe451b890a9c7aa75e04087ff900c7601fe5a8
parent4f0047ed108889ea97ad7656307a8a829dd56636 (diff)
downloadrust-75f0f7af3172cedaa01e9bf066c06017bfe9a426.tar.gz
rust-75f0f7af3172cedaa01e9bf066c06017bfe9a426.zip
Fix a typo
-rw-r--r--src/librustdoc/clean/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index 1bdbad46755..00f27bb51ed 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -839,7 +839,7 @@ impl<'a, 'tcx> Clean<Generics> for (&'a ty::Generics, ty::GenericPredicates<'tcx
         let mut where_predicates =
             where_predicates.into_iter().flat_map(|p| p.clean(cx)).collect::<Vec<_>>();
 
-        // Type parameters and have a Sized bound by default unless removed with
+        // Type parameters have a Sized bound by default unless removed with
         // ?Sized. Scan through the predicates and mark any type parameter with
         // a Sized bound, removing the bounds as we find them.
         //