From c553ac3bb24dbd47c85e7ece9ba473d4c9d2924e Mon Sep 17 00:00:00 2001 From: Omer Tuchfeld Date: Sat, 18 Jun 2022 12:38:26 +0200 Subject: [PATCH] Fix small `src/diagnostics.md` typo --- src/diagnostics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagnostics.md b/src/diagnostics.md index 7ef33d38e..dbf5cf99e 100644 --- a/src/diagnostics.md +++ b/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",