about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2021-06-25 13:18:56 -0700
committerEric Huss <eric@huss.org>2021-06-25 13:18:56 -0700
commit6235e6f93f85134b82500656d9120a58ec7ca328 (patch)
treea7ca566edd67d8efbb5bdeb1b9f6eee34479483e /compiler
parentf726dbe934d7dcf8ac72e5a8863703e64bb049ae (diff)
downloadrust-6235e6f93f85134b82500656d9120a58ec7ca328.tar.gz
rust-6235e6f93f85134b82500656d9120a58ec7ca328.zip
Fix a few misspellings.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index a2f60142ffc..40adf1b4ea7 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -3280,7 +3280,7 @@ declare_lint! {
     ///
     /// In Rust 2021, one of the important introductions is the [prelude changes], which add
     /// `TryFrom`, `TryInto`, and `FromIterator` into the standard library's prelude. Since this
-    /// results in an amiguity as to which method/function to call when an existing `try_into`
+    /// results in an ambiguity as to which method/function to call when an existing `try_into`
     ///  method is called via dot-call syntax or a `try_from`/`from_iter` associated function
     ///  is called directly on a type.
     ///