Make clippy happy

This commit is contained in:
Jonathan Kelley committed 2024-02-04 23:03:52 -08:00
1 parent 7d78e5e250
commit 4a7fe938ad
17 files changed
+39 -41

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ impl<T> Resource<T> {
/// Get the current value of the future.
pub fn value(&self) -> Option<ReadOnlySignal<T>> {
self.value.peek().as_ref().map(|sig| sig.clone().into())
self.value.peek().as_ref().map(|sig| (*sig).into())
}
/// Wait for this async memo to resolve, returning the inner signal value