Skip to content

Commit

Permalink
feat(api) Remove useless code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Feb 25, 2021
1 parent d1bd9ea commit da12f69
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/api/src/import_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,20 +145,6 @@ impl IntoIterator for ImportObject {

impl fmt::Debug for ImportObject {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
enum SecretOption {
None,
Some,
}

impl fmt::Debug for SecretOption {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
Self::None => write!(f, "None"),
Self::Some => write!(f, "Some(...)"),
}
}
}

enum SecretMap {
Empty,
Some(usize),
Expand Down

0 comments on commit da12f69

Please sign in to comment.