about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorAndrew Lilley Brinker <alilleybrinker@gmail.com>2024-09-16 14:21:05 -0700
committerAndrew Lilley Brinker <alilleybrinker@gmail.com>2024-09-16 14:21:05 -0700
commit23e4e98d2c2fb441e1af7764be3919649d18912a (patch)
treeeb8918e24a913e995bb6a767f07392467e25a7d7 /compiler/rustc_mir_transform/src/coverage/counters.rs
parentfd2c811d25ad5773fbd2463e058bf4edf4d44eb2 (diff)
downloadrust-23e4e98d2c2fb441e1af7764be3919649d18912a.tar.gz
rust-23e4e98d2c2fb441e1af7764be3919649d18912a.zip
fix: Remove duplicate `LazyLock` example.
The top-level docs for `LazyLock` included two lines of code, each
with an accompanying comment, that were identical and with nearly-
identical comments. This looks like an oversight from a past edit
which was perhaps trying to rewrite an existing example but ended
up duplicating rather than replacing, though I haven't gone back
through the Git history to check.

This commit removes what I personally think is the less-clear of
the two examples.

Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com>
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions