Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmloff committed Nov 4, 2024
1 parent ae402e0 commit cefd2f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/signals/src/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ impl<T: 'static, S: Storage<SignalData<T>>> Signal<T, S> {

/// Point to another signal. This will subscribe the other signal to all subscribers of this signal.
pub fn point_to(&self, other: Self) -> BorrowResult {
#[allow(clippy::mutable_key_type)]
let this_subscribers = self.inner.value.read().subscribers.lock().unwrap().clone();
let other_read = other.inner.value.read();
for subscriber in this_subscribers.iter() {
Expand Down

0 comments on commit cefd2f4

Please sign in to comment.