Rust 1.85 (#25272)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
co-authored by
Anthony Eid
parent
fc52b43159
commit
e4e758db3a
@@ -82,7 +82,7 @@ impl AppCell {
|
||||
#[derive(Deref, DerefMut)]
|
||||
pub struct AppRef<'a>(Ref<'a, App>);
|
||||
|
||||
impl<'a> Drop for AppRef<'a> {
|
||||
impl Drop for AppRef<'_> {
|
||||
fn drop(&mut self) {
|
||||
if option_env!("TRACK_THREAD_BORROWS").is_some() {
|
||||
let thread_id = std::thread::current().id();
|
||||
@@ -95,7 +95,7 @@ impl<'a> Drop for AppRef<'a> {
|
||||
#[derive(Deref, DerefMut)]
|
||||
pub struct AppRefMut<'a>(RefMut<'a, App>);
|
||||
|
||||
impl<'a> Drop for AppRefMut<'a> {
|
||||
impl Drop for AppRefMut<'_> {
|
||||
fn drop(&mut self) {
|
||||
if option_env!("TRACK_THREAD_BORROWS").is_some() {
|
||||
let thread_id = std::thread::current().id();
|
||||
|
||||
Reference in New Issue
Block a user