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 01c18f1 commit 05b7f10Copy full SHA for 05b7f10
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 270f0eef733a625bcee68019189f19dc119f8f24
+refs/heads/master: b03279aaa2b20f6033e66fc7aea29c0b43e71082
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5
refs/heads/try: 649d35e4d830b27806705dc5352c86ab6d6fd1a1
trunk/src/liballoc/boxed.rs
@@ -94,6 +94,7 @@ impl<T> Box<T> {
94
/// let x = Box::new(5);
95
/// ```
96
#[stable(feature = "rust1", since = "1.0.0")]
97
+ #[inline(always)]
98
pub fn new(x: T) -> Box<T> {
99
box x
100
}
0 commit comments