about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-30 21:31:01 +0000
committerbors <bors@rust-lang.org>2019-08-30 21:31:01 +0000
commitfd68d023f4011fea1c988a2b82801d09a5ad8bdf (patch)
tree48dc5ce421c3bbc38ef95f79e8706b89deaf12c7 /src/liballoc
parent4295eea903a9e1014ee30f82930f5ec08d888077 (diff)
parentd997596445ad8f7e1591a2d6719c7868a4f5305e (diff)
downloadrust-fd68d023f4011fea1c988a2b82801d09a5ad8bdf.tar.gz
rust-fd68d023f4011fea1c988a2b82801d09a5ad8bdf.zip
Auto merge of #64026 - Centril:rollup-le667lp, r=Centril
Rollup of 7 pull requests

Successful merges:

 - #62957 (Match the loop examples)
 - #63600 (Merge oli-obk mail addresses)
 - #63684 (Constify LinkedList new function)
 - #63847 ([rustdoc] Fix system theme detection)
 - #63999 (Add missing links on AsRef trait)
 - #64014 ( miri: detect too large dynamically sized objects )
 - #64015 (some const-eval test tweaks)

Failed merges:

r? @ghost
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/collections/linked_list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/collections/linked_list.rs b/src/liballoc/collections/linked_list.rs
index a14a3fe9994..816a71f2557 100644
--- a/src/liballoc/collections/linked_list.rs
+++ b/src/liballoc/collections/linked_list.rs
@@ -276,7 +276,7 @@ impl<T> LinkedList<T> {
     /// ```
     #[inline]
     #[stable(feature = "rust1", since = "1.0.0")]
-    pub fn new() -> Self {
+    pub const fn new() -> Self {
         LinkedList {
             head: None,
             tail: None,