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 388eb0a commit e6708e9Copy full SHA for e6708e9
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 679eb9191dd06a2e0dacf3602da56765211fd76a
+refs/heads/master: 73b86e47786e14938048b7c298a70bc5ff536a88
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 1b2ad7831f1745bf4a4709a1fa1772afb47c933c
5
refs/heads/try: 98bd84a3300f974f400a3eeb56567ad3f77b13f0
trunk/src/liballoc/boxed.rs
@@ -48,6 +48,10 @@ impl<T: Default> Default for Box<T> {
48
fn default() -> Box<T> { box Default::default() }
49
}
50
51
+impl<T> Default for Box<[T]> {
52
+ fn default() -> Box<[T]> { box [] }
53
+}
54
+
55
#[unstable]
56
impl<T: Clone> Clone for Box<T> {
57
/// Returns a copy of the owned box.
0 commit comments