mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
Correct version that relaxed orphan rules
This commit is contained in:
@@ -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:
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user