mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
Clear warnings
This commit is contained in:
parent
d654a13541
commit
9f4b3c9f26
3 changed files with 6 additions and 4 deletions
|
@ -54,7 +54,9 @@ where
|
|||
if #[cfg(not(feature = "ssr"))] {
|
||||
create_isomorphic_effect(cx, f);
|
||||
} else {
|
||||
{ }
|
||||
// clear warnings
|
||||
_ = cx;
|
||||
_ = f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -185,7 +185,7 @@ impl Scope {
|
|||
let scope = scopes
|
||||
.get(self.id)
|
||||
.expect("tried to add property to a scope that has been disposed");
|
||||
f(&mut *scope.borrow_mut());
|
||||
f(&mut scope.borrow_mut());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::{cell::RefCell, rc::Rc};
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::{create_scope, Memo, ReadSignal, RwSignal, Scope, UntrackedGettableSignal};
|
||||
use crate::{Memo, ReadSignal, RwSignal, Scope, UntrackedGettableSignal};
|
||||
|
||||
/// A wrapper for any kind of readable reactive signal: a [ReadSignal](crate::ReadSignal),
|
||||
/// [Memo](crate::Memo), [RwSignal](crate::RwSignal), or derived signal closure.
|
||||
|
|
Loading…
Reference in a new issue