Fix small `src/diagnostics.md` typo (#1370)

This commit is contained in:
Omer Tuchfeld 2022-06-18 12:42:08 +02:00 committed by GitHub
parent cddd59fff8
commit bda3e0b23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",