about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Giddy <jongiddy@gmail.com>2020-03-07 08:21:27 +0000
committerJonathan Giddy <jongiddy@gmail.com>2020-03-07 08:21:27 +0000
commitdffd18fafc5ffe41b958bf9cacc0c3a6ef257348 (patch)
tree4aff0b9d38cae84881f0eb7f0ff0954bb48740b0
parent2890b37b861247de3b8c6ba2ecbcd00048c728a1 (diff)
downloadrust-dffd18fafc5ffe41b958bf9cacc0c3a6ef257348.tar.gz
rust-dffd18fafc5ffe41b958bf9cacc0c3a6ef257348.zip
Correct version that relaxed orphan rules
-rw-r--r--src/libcore/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/convert/mod.rs b/src/libcore/convert/mod.rs
index 959fd63df51..47ab8715cfa 100644
--- a/src/libcore/convert/mod.rs
+++ b/src/libcore/convert/mod.rs
@@ -229,7 +229,7 @@ pub trait AsMut<T: ?Sized> {
 ///
 /// # Implementing [`Into`] for conversions to external types in old versions of Rust
 ///
-/// Prior to Rust 1.40, if the destination type was not part of the current crate
+/// Prior to Rust 1.41, if the destination type was not part of the current crate
 /// then you couldn't implement [`From`] directly.
 /// For example, take this code:
 ///