diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-12 17:59:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 17:59:10 +0100 |
| commit | 0c4415cdd62a600d2b4a5f8155ff4112a2b73199 (patch) | |
| tree | 0c812c619d01d4125a4e36d1fbe4a9fbe93ea5f6 /library/alloc | |
| parent | de7e5e96be978e5f76f2427351c4ce4a43820380 (diff) | |
| parent | cf318a79d678bf8beec26a547b384975de5039b1 (diff) | |
| download | rust-0c4415cdd62a600d2b4a5f8155ff4112a2b73199.tar.gz rust-0c4415cdd62a600d2b4a5f8155ff4112a2b73199.zip | |
Rollup merge of #138387 - RalfJung:intrinsic-arg-names, r=oli-obk
intrinsics: remove unnecessary leading underscore from argument names This is unnecessary since https://github.com/rust-lang/rust/pull/135840.
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index 9b19ab74edf..e77caad6540 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -239,7 +239,7 @@ pub struct Box< /// This is the surface syntax for `box <expr>` expressions. #[rustc_intrinsic] #[unstable(feature = "liballoc_internals", issue = "none")] -pub fn box_new<T>(_x: T) -> Box<T>; +pub fn box_new<T>(x: T) -> Box<T>; impl<T> Box<T> { /// Allocates memory on the heap and then places `x` into it. |
