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 0152a93 commit 2a53edeCopy full SHA for 2a53ede
src/libcore/marker.rs
@@ -18,6 +18,7 @@
18
19
use clone::Clone;
20
use cmp;
21
+use default::Default;
22
use option::Option;
23
use hash::Hash;
24
use hash::Hasher;
@@ -256,6 +257,12 @@ macro_rules! impls{
256
257
$t
258
}
259
260
+
261
+ impl<T:?Sized> Default for $t<T> {
262
+ fn default() -> $t<T> {
263
+ $t
264
+ }
265
266
)
267
268
0 commit comments