Skip to content

Commit cc5a2ff

Browse files
committed
cli: fix deprecated warning
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent fcf4197 commit cc5a2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/nostr-cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async fn run() -> Result<()> {
5555
.embedded_tor();
5656

5757
// Build client
58-
let opts: Options = ClientOptions::new().connection(connection);
58+
let opts: ClientOptions = ClientOptions::new().connection(connection);
5959
let client: Client = Client::builder().database(db).opts(opts).build();
6060

6161
// Add relays

0 commit comments

Comments
 (0)