Skip to content

Commit 97fd446

Browse files
committed
nostr: fix missing FromStr import
1 parent ab1e467 commit 97fd446

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/nostr/src/types/channel_id.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ use alloc::{
99
vec::Vec,
1010
};
1111

12+
#[cfg(all(feature = "alloc", not(feature = "std")))]
13+
use core::str::FromStr;
14+
1215
#[cfg(all(feature = "alloc", not(feature = "std")))]
1316
use alloc::fmt;
1417
#[cfg(feature = "std")]

0 commit comments

Comments
 (0)