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:
commit
4f3ab69ea0
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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 }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user