summary refs log tree commit diff
path: root/compiler/rustc_lint/src/autorefs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_lint/src/autorefs.rs')
-rw-r--r--compiler/rustc_lint/src/autorefs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/autorefs.rs b/compiler/rustc_lint/src/autorefs.rs
index 845a1f1b81f..5490a3aac9b 100644
--- a/compiler/rustc_lint/src/autorefs.rs
+++ b/compiler/rustc_lint/src/autorefs.rs
@@ -41,7 +41,7 @@ declare_lint! {
     /// }
     /// ```
     ///
-    /// Otherwise try to find an alternative way to achive your goals using only raw pointers:
+    /// Otherwise try to find an alternative way to achieve your goals using only raw pointers:
     ///
     /// ```rust
     /// use std::ptr;