We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d84b82 commit 5600d91Copy full SHA for 5600d91
crates/nostr-sdk/src/client/mod.rs
@@ -130,7 +130,8 @@ impl Drop for Client {
130
.fetch_update(Ordering::SeqCst, Ordering::SeqCst, |_| Some(true));
131
let client: Client = self.clone();
132
thread::spawn(async move {
133
- client.shutdown()
+ client
134
+ .shutdown()
135
.await
136
.expect("Impossible to drop the client")
137
});
crates/nostr/src/message/subscription.rs
@@ -195,7 +195,7 @@ impl SubscriptionId {
195
196
impl fmt::Display for SubscriptionId {
197
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
198
- write!(f, "{}", self.0.clone())
+ write!(f, "{}", self.0)
199
}
200
201
0 commit comments