]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint_defs/src/builtin.rs
Auto merge of #106121 - RalfJung:miri, r=RalfJung
[rust.git] / compiler / rustc_lint_defs / src / builtin.rs
index 67868ded0b86b5b4c9de2442bfc2a75515fee6a0..28317d6cea02a599a0a0cddf1a164911eba33332 100644 (file)
     /// fn main() {
     ///     let x: String = "3".try_into().unwrap();
     ///     //                  ^^^^^^^^
-    ///     // This call to try_into matches both Foo:try_into and TryInto::try_into as
+    ///     // This call to try_into matches both Foo::try_into and TryInto::try_into as
     ///     // `TryInto` has been added to the Rust prelude in 2021 edition.
     ///     println!("{x}");
     /// }