about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2024-07-22 17:35:11 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2024-07-22 18:07:28 +0100
commitc404406a87412d50604893d8c347744195ce2dea (patch)
tree66428e724e4387114b7306d9f8dcdd3013c12dd4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb18c7d85a92011bcc094b33e6a3c646a3cfca8f3 (diff)
downloadrust-c404406a87412d50604893d8c347744195ce2dea.tar.gz
rust-c404406a87412d50604893d8c347744195ce2dea.zip
LocalWaker docs: Make long-ago omitted but probably intended changes
In 6f8a944ba4311cbcf5922132721095c226c6fbab, titled

  Change return type of unstable `Waker::noop()` from `Waker` to `&Waker`.

the summary line for Waker was changed:

  -    /// Creates a new `Waker` that does nothing when `wake` is called.
  +    /// Returns a reference to a `Waker` that does nothing when used.

and the sentence about clone was added.

LocalWaker's docs were not changed, even though the types were, but
there is no explanation for why not.  It seems like it was simply a
slip induced by the clone-and-hack.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions