about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-01-14 16:25:43 -0800
committerKevin Reid <kpreid@switchb.org>2024-01-17 12:00:27 -0800
commitc48cdfe8ee582e3e67c9ffc036d8046add812565 (patch)
tree675b5926398ca29c50e953c20240974115a17999 /compiler/rustc_codegen_llvm/src/errors.rs
parent6f8a944ba4311cbcf5922132721095c226c6fbab (diff)
downloadrust-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