about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/common_tools_writing_lints.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/common_tools_writing_lints.md b/doc/common_tools_writing_lints.md
index 27d4f1b03d7..d56079a4ab7 100644
--- a/doc/common_tools_writing_lints.md
+++ b/doc/common_tools_writing_lints.md
@@ -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