diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-03-30 10:57:44 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-03-30 21:14:37 +1100 |
| commit | eeb5b782a613b37c13bfd39588a3e3ae6dcf0ff5 (patch) | |
| tree | 6183c6c463b1dc50e659670f8d01141ea9c6443e /compiler/rustc_interface/src/errors.rs | |
| parent | 478cbb42b730ba4739351b72ce2aa928e78e2f81 (diff) | |
| download | rust-eeb5b782a613b37c13bfd39588a3e3ae6dcf0ff5.tar.gz rust-eeb5b782a613b37c13bfd39588a3e3ae6dcf0ff5.zip | |
Improve the `rustc_data_structures::sync` module doc comment.
Also, `MTRef<'a, T>` is a typedef for a reference to a `T`, but in practice it's only used (and useful) in combination with `MTLock`, i.e. `MTRef<'a, MTLock<T>>`. So this commit changes it to be a typedef for a reference to an `MTLock<T>`, and renames it as `MTLockRef`. I think this clarifies things, because I found `MTRef` quite puzzling at first.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
