Skip to content

Commit 9b53fc5

Browse files
Clippy
1 parent ac37b98 commit 9b53fc5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/commands/keys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub async fn get_keys_interactive(
1414

1515
let chain = FuzzySelect::with_theme(&ColorfulTheme::default())
1616
.with_prompt("Which chain would you like to use?")
17-
.items(&CHAINS)
17+
.items(CHAINS)
1818
.interact()?;
1919

2020
let api_keys: Vec<Key> = client

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
6060
.with_prompt("Password")
6161
.interact()?;
6262

63-
let _ = term.clear_screen();
63+
term.clear_screen()?;
6464

6565
let login = LoginRequest { email, password };
6666

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::fmt::Display;
22

33
use serde::{Deserialize, Serialize};
4-
pub static CHAINS: &'static [Chains] = &[
4+
pub static CHAINS: &[Chains] = &[
55
Chains::Ethereum,
66
Chains::Base,
77
Chains::Arbitrum,

0 commit comments

Comments
 (0)