diff --git a/src/attributes/diagnostics.md b/src/attributes/diagnostics.md index 1e6f3a09c..c648e059d 100644 --- a/src/attributes/diagnostics.md +++ b/src/attributes/diagnostics.md @@ -188,7 +188,7 @@ five(); When used on a [trait declaration], a [call expression] of an [expression statement] to a function that returns an [impl trait] of that trait violates -the `unsued_must_use` lint. +the `unused_must_use` lint. ```rust #[must_use]