about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorOmer Tuchfeld <omertuchfeld@gmail.com>2022-06-18 12:42:08 +0200
committerGitHub <noreply@github.com>2022-06-18 19:42:08 +0900
commit16824a22e744b9e53b0d55f9f72147c2aa037590 (patch)
treefaa0f4412e1155990581ee37d6527c3cfa9630ee /src/doc
parent46a3e18d38d5b8df78035982635ba327b834745a (diff)
downloadrust-16824a22e744b9e53b0d55f9f72147c2aa037590.tar.gz
rust-16824a22e744b9e53b0d55f9f72147c2aa037590.zip
Fix small `src/diagnostics.md` typo (#1370)
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/diagnostics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/diagnostics.md b/src/doc/rustc-dev-guide/src/diagnostics.md
index 7ef33d38e6f..dbf5cf99eb9 100644
--- a/src/doc/rustc-dev-guide/src/diagnostics.md
+++ b/src/doc/rustc-dev-guide/src/diagnostics.md
@@ -888,7 +888,7 @@ For example, the `Iterator` trait can be annotated in the following way:
 #[rustc_on_unimplemented(
     on(
         _Self="&str",
-        note="call `.chars()` or `.as_bytes()` on `{Self}"
+        note="call `.chars()` or `.as_bytes()` on `{Self}`"
     ),
     message="`{Self}` is not an iterator",
     label="`{Self}` is not an iterator",