diff options
| author | bors <bors@rust-lang.org> | 2025-09-17 21:26:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-09-17 21:26:50 +0000 |
| commit | 93117677d857bb7c3f12c9dc500d77839f8fb13d (patch) | |
| tree | f80ef0fd55b3b9606f0171d46ba290a626a22e75 /library | |
| parent | 4645a7988177c286f61609cc667ecae4c571a2e8 (diff) | |
| parent | c6ed4c04425d7f242a472eb06058f5abe45dac81 (diff) | |
| download | rust-93117677d857bb7c3f12c9dc500d77839f8fb13d.tar.gz rust-93117677d857bb7c3f12c9dc500d77839f8fb13d.zip | |
Auto merge of #146685 - jdonszelmann:rollup-kwuih4z, r=jdonszelmann
Rollup of 7 pull requests Successful merges: - rust-lang/rust#146458 (Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded parallel compilation) - rust-lang/rust#146485 (Remove unsized arg handling in `ArgAbiBuilderMethods::store_fn_arg` implementations) - rust-lang/rust#146536 (clean up several trait related UI tests) - rust-lang/rust#146598 (Make llvm_enzyme a regular cargo feature) - rust-lang/rust#146647 (Move `#[rustc_coherence_is_core]` to the `crate_level` file) - rust-lang/rust#146654 (Do not use `git -C dir`) - rust-lang/rust#146681 (Add space after brace in `Box<[T]>::new_uninit_slice` example) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library')
| -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 98c9f6b51ab..7d2dd12c6ea 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -640,7 +640,7 @@ impl<T> Box<[T]> { /// values[0].write(1); /// values[1].write(2); /// values[2].write(3); - /// let values = unsafe {values.assume_init() }; + /// let values = unsafe { values.assume_init() }; /// /// assert_eq!(*values, [1, 2, 3]) /// ``` |
