Skip to content

Commit b93f1bb

Browse files
committed
Fix diagnostic attribute typo
1 parent cc1d51c commit b93f1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ note: required for `&str` to implement `AsExpression<Integer>`
647647
| ------------------------ unsatisfied trait bound introduced here
648648
```
649649

650-
By adding the `#[diagnostic::do_no_recommend]` attribute to the blanket `impl` for `AsExpression`, the message changes to:
650+
By adding the `#[diagnostic::do_not_recommend]` attribute to the blanket `impl` for `AsExpression`, the message changes to:
651651

652652
```text
653653
error[E0277]: the trait bound `&str: AsExpression<Integer>` is not satisfied

0 commit comments

Comments
 (0)