We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c6e2f commit 99363a1Copy full SHA for 99363a1
core/src/default.rs
@@ -71,6 +71,8 @@ use crate::ascii::Char as AsciiChar;
71
///
72
/// You cannot use the `#[default]` attribute on non-unit or non-exhaustive variants.
73
74
+/// The `#[default]` attribute was stabilized in Rust 1.62.0.
75
+///
76
/// ## How can I implement `Default`?
77
78
/// Provide an implementation for the `default()` method that returns the value of
0 commit comments