diff options
| author | bors <bors@rust-lang.org> | 2024-09-17 03:40:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-17 03:40:29 +0000 |
| commit | c8dff289a0c931e138350f3baef0fab6d3309f80 (patch) | |
| tree | e1dc41383b1d8f2168cd94185804e66dc8b38b94 /library/std/src | |
| parent | e2dc1a1c0f97a90319181a721ab317210307617a (diff) | |
| parent | 558b302af739045bb2685707947169ad853645ea (diff) | |
| download | rust-c8dff289a0c931e138350f3baef0fab6d3309f80.tar.gz rust-c8dff289a0c931e138350f3baef0fab6d3309f80.zip | |
Auto merge of #130456 - matthiaskrgr:rollup-h2qvk1f, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #130380 (coverage: Clarify some parts of coverage counter creation) - #130427 (run_make_support: rectify symlink handling) - #130447 (rustc_llvm: update for llvm/llvm-project@2ae968a0d9fb61606b020e898d88…) - #130448 (fix: Remove duplicate `LazyLock` example.) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sync/lazy_lock.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sync/lazy_lock.rs b/library/std/src/sync/lazy_lock.rs index 953aef40e7b..1dfe1dc538b 100644 --- a/library/std/src/sync/lazy_lock.rs +++ b/library/std/src/sync/lazy_lock.rs @@ -44,8 +44,6 @@ union Data<T, F> { /// /// // The `String` is built, stored in the `LazyLock`, and returned as `&String`. /// let _ = &*DEEP_THOUGHT; -/// // The `String` is retrieved from the `LazyLock` and returned as `&String`. -/// let _ = &*DEEP_THOUGHT; /// ``` /// /// Initialize fields with `LazyLock`. |
