Skip to content

Commit 53101e0

Browse files
authored
Fix small src/diagnostics.md typo (rust-lang#1370)
1 parent 3152bcb commit 53101e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ For example, the `Iterator` trait can be annotated in the following way:
888888
#[rustc_on_unimplemented(
889889
on(
890890
_Self="&str",
891-
note="call `.chars()` or `.as_bytes()` on `{Self}"
891+
note="call `.chars()` or `.as_bytes()` on `{Self}`"
892892
),
893893
message="`{Self}` is not an iterator",
894894
label="`{Self}` is not an iterator",

0 commit comments

Comments
 (0)