about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2020-11-20 17:45:20 -0300
committerSantiago Pastorino <spastorino@gmail.com>2020-11-27 11:23:49 -0300
commitaa1cafd4079c9f246d495addd6c23cc47b266a8b (patch)
tree2ff431834168e83e581734f79de6b0e18ea79d5d
parentf76d6e013937872e7cbcce0dd57dc4bc25de9220 (diff)
downloadrust-aa1cafd4079c9f246d495addd6c23cc47b266a8b.tar.gz
rust-aa1cafd4079c9f246d495addd6c23cc47b266a8b.zip
Add `` to variable name in docs
-rw-r--r--compiler/rustc_typeck/src/astconv/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/astconv/mod.rs b/compiler/rustc_typeck/src/astconv/mod.rs
index d8fbcb633cd..f7eb6720e1e 100644
--- a/compiler/rustc_typeck/src/astconv/mod.rs
+++ b/compiler/rustc_typeck/src/astconv/mod.rs
@@ -52,7 +52,7 @@ pub trait AstConv<'tcx> {
 
     /// Returns predicates in scope of the form `X: Foo<T>`, where `X`
     /// is a type parameter `X` with the given id `def_id` and T
-    /// matches assoc_name. This is a subset of the full set of
+    /// matches `assoc_name`. This is a subset of the full set of
     /// predicates.
     ///
     /// This is used for one specific purpose: resolving "short-hand"