Skip to content

Commit

Permalink
remove unused enum case
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Mar 17, 2024
1 parent 385f3cd commit b01ca1e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/geomjeungja/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use rand::{
};
use serde::{de::DeserializeOwned, Deserialize, Serialize};
use std::{convert::Infallible, future::Future, ops::Deref, sync::Arc};
use thiserror::Error;
use typed_builder::TypedBuilder;

mod util;
Expand All @@ -26,14 +27,8 @@ type Result<T, E = Error> = std::result::Result<T, E>;
const TOKEN_LENGTH: usize = 40;

/// Combined error type
#[derive(Debug, thiserror::Error)]
#[derive(Debug, Error)]
pub enum Error {
/// The builder was incomplete
///
/// The field is the name of the missing field
#[error("Incomplete Builder: Field \"{0}\" is missing from the builder")]
IncompleteBuilder(&'static str),

/// The resolver returned an error
#[error(transparent)]
Resolve(BoxError),
Expand Down

0 comments on commit b01ca1e

Please sign in to comment.