]> git.lizzy.rs Git - rust.git/blobdiff - doc/common_tools_writing_lints.md
Auto merge of #6198 - montrivo:needless-lifetime, r=flip1995
[rust.git] / doc / common_tools_writing_lints.md
index 27d4f1b03d77c4d2acdaf643754f939ef6343d0f..d56079a4ab735f4eab65e36de5ae65270f3c7864 100644 (file)
@@ -47,7 +47,7 @@ to retrieve a type from a pattern.
 Two noticeable items here:
 - `cx` is the lint context [`LateContext`][LateContext]. The two most useful
   data structures in this context are `tcx` and the `TypeckResults` returned by
-  'LateContext::typeck_results', allowing us to jump to type definitions and
+  `LateContext::typeck_results`, allowing us to jump to type definitions and
   other compilation stages such as HIR.
 - `typeck_results`'s return value is [`TypeckResults`][TypeckResults] and is
   created by type checking step, it includes useful information such as types