From d7b4b0191161878245ae93084e4fa3b7c4775ce6 Mon Sep 17 00:00:00 2001 From: Travis Finkenauer Date: Thu, 14 Mar 2024 18:14:45 -0700 Subject: [PATCH] core: document default attribute stabilization --- library/core/src/default.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/core/src/default.rs b/library/core/src/default.rs index a1303fcd82158..a507555468282 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