Skip to content

Commit

Permalink
Remove unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Jun 12, 2024
1 parent bb67a7f commit 379cf5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/soroban-cli/src/commands/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use super::{
config::{self, locator},
network,
};
use crate::{commands::config::data, rpc};
use crate::commands::config::data;

fn default_out_path() -> PathBuf {
PathBuf::new().join("snapshot.json")
Expand Down Expand Up @@ -91,8 +91,6 @@ pub enum Error {
#[error("missing target")]
MissingTarget,
#[error(transparent)]
Rpc(#[from] rpc::Error),
#[error(transparent)]
Generic(#[from] Box<dyn std::error::Error>),
#[error(transparent)]
Io(#[from] io::Error),
Expand Down

0 comments on commit 379cf5d

Please sign in to comment.