Auto merge of #10126 - flip1995:rustup, r=flip1995

Rustup

r? `@ghost`

Love this time of the year. No conflicts, because no one merges anything.

changelog: none
This commit is contained in:
bors 2022-12-29 13:26:43 +00:00
commit 4f3ab69ea0
3 changed files with 4 additions and 4 deletions

View File

@ -48,8 +48,8 @@ Current stable, released 2022-12-15
[#8518](https://github.com/rust-lang/rust-clippy/pull/8518)
* Moved [`implicit_saturating_sub`] to `style` (Now warn-by-default)
[#9584](https://github.com/rust-lang/rust-clippy/pull/9584)
* Moved [`derive_partial_eq_without_eq`] to `nursery` (now allow-by-default)
[#9535](https://github.com/rust-lang/rust-clippy/pull/9535)
* Moved `derive_partial_eq_without_eq` to `nursery` (now allow-by-default)
[#9536](https://github.com/rust-lang/rust-clippy/pull/9536)
### Enhancements

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2022-12-17"
channel = "nightly-2022-12-29"
components = ["cargo", "llvm-tools", "rust-src", "rust-std", "rustc", "rustc-dev", "rustfmt"]

View File

@ -42,7 +42,7 @@ impl<T> StaticRef<T> {
impl<T> std::ops::Deref for StaticRef<T> {
type Target = T;
fn deref(&self) -> &'static T {
fn deref(&self) -> &T {
unsafe { &*self.ptr }
}
}