about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-18 22:56:58 +0800
committerGitHub <noreply@github.com>2024-12-18 22:56:58 +0800
commitfbb9e692262f5d218fba6fe4de69164183c4af5c (patch)
tree65447203e70b74510fb4552f422f8e28a5371e55 /compiler/rustc_interface/src/errors.rs
parent88428f4dc3a66e25d25ce4d69824c84a013db7ac (diff)
parent20bff638bf45990b7d71cdc330b4f68bd4b4bc73 (diff)
downloadrust-fbb9e692262f5d218fba6fe4de69164183c4af5c.tar.gz
rust-fbb9e692262f5d218fba6fe4de69164183c4af5c.zip
Rollup merge of #134452 - jalil-salame:fix-lazy-cell-docs, r=tgross35
fix(LazyCell): documentation of get[_mut] was wrong

- `LazyCell::get`: said it was returning a **mutable** reference.
- `LazyCell::get_mut`: said it was returning a reference (the mutable was missing).

Related to #129333 (`lazy_get`). `LazyLock`'s documentation was correct.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions