Skip to content

Commit

Permalink
clippy; fix unnessecary derive
Browse files Browse the repository at this point in the history
  • Loading branch information
wseaton committed Jun 6, 2024
1 parent bbcdba2 commit 09b78cc
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions snowflake-api/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,24 +203,13 @@ impl SessionBuilder {
}
}

#[derive(Debug, Clone)]
#[derive(Debug, Default, Clone)]
struct SessionObjectDetails {
warehouse: Option<String>,
database: Option<String>,
schema: Option<String>,
}

impl Default for SessionObjectDetails {
fn default() -> Self {
Self {
warehouse: None,
database: None,
schema: None,
}
}
}

// todo: make builder
impl Session {
fn new(
connection: Arc<Connection>,
Expand Down

0 comments on commit 09b78cc

Please sign in to comment.