diff options
| author | Travis Finkenauer <tmfinken@gmail.com> | 2024-03-14 18:14:45 -0700 |
|---|---|---|
| committer | Travis Finkenauer <tmfinken@gmail.com> | 2024-03-16 21:20:29 -0700 |
| commit | d7b4b0191161878245ae93084e4fa3b7c4775ce6 (patch) | |
| tree | 7b64b2a09d7a68ade42ed096dcf71eedda273a8d /library | |
| parent | c8813ddd6d2602ae5473752031fd16ba70a6e4a7 (diff) | |
| download | rust-d7b4b0191161878245ae93084e4fa3b7c4775ce6.tar.gz rust-d7b4b0191161878245ae93084e4fa3b7c4775ce6.zip | |
core: document default attribute stabilization
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/default.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/src/default.rs b/library/core/src/default.rs index a1303fcd821..a5075554682 100644 --- a/library/core/src/default.rs +++ b/library/core/src/default.rs @@ -71,6 +71,8 @@ use crate::ascii::Char as AsciiChar; /// /// You cannot use the `#[default]` attribute on non-unit or non-exhaustive variants. /// +/// The `#[default]` attribute was stabilized in Rust 1.62.0. +/// /// ## How can I implement `Default`? /// /// Provide an implementation for the `default()` method that returns the value of |
