std: Stabilize default
All stable.
This commit is contained in:
parent
a57e2a7f4d
commit
71f3d8fc1f
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
//! The `Default` trait for types which may have meaningful default values
|
//! The `Default` trait for types which may have meaningful default values
|
||||||
|
|
||||||
|
#![stable]
|
||||||
|
|
||||||
/// A trait that types which have a useful default value should implement.
|
/// A trait that types which have a useful default value should implement.
|
||||||
pub trait Default {
|
pub trait Default {
|
||||||
/// Return the "default value" for a type.
|
/// Return the "default value" for a type.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue