diff options
| author | Kevin Reid <kpreid@switchb.org> | 2024-01-14 16:25:43 -0800 |
|---|---|---|
| committer | Kevin Reid <kpreid@switchb.org> | 2024-01-17 12:00:27 -0800 |
| commit | c48cdfe8ee582e3e67c9ffc036d8046add812565 (patch) | |
| tree | 675b5926398ca29c50e953c20240974115a17999 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 6f8a944ba4311cbcf5922132721095c226c6fbab (diff) | |
| download | rust-c48cdfe8ee582e3e67c9ffc036d8046add812565.tar.gz rust-c48cdfe8ee582e3e67c9ffc036d8046add812565.zip | |
Remove unnecessary `let`s and borrowing from `Waker::noop()` usage.
`Waker::noop()` now returns a `&'static Waker` reference, so it can be passed directly to `Context` creation with no temporary lifetime issue.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
