Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
codedmart committed Dec 11, 2024
1 parent 732db9c commit 5c4b2ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/ndc-sqlserver/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,24 +106,24 @@ impl<Env: Environment + Send + Sync> connector::ConnectorSetup for SQLServerSetu
std::io::Error::new(std::io::ErrorKind::Other, inner).into()
}
configuration::Error::ConnectionPoolError(inner) => {
std::io::Error::new(std::io::ErrorKind::Other, inner.to_string()).into()
std::io::Error::new(std::io::ErrorKind::Other, inner).into()
}
configuration::Error::GetConnectionFromPool(inner) => {

Check warning on line 111 in crates/ndc-sqlserver/src/connector.rs

View workflow job for this annotation

GitHub Actions / cargo fmt

Diff in /home/runner/work/ndc-sqlserver/ndc-sqlserver/crates/ndc-sqlserver/src/connector.rs
std::io::Error::new(std::io::ErrorKind::Other, inner.to_string()).into()
std::io::Error::new(std::io::ErrorKind::Other, inner).into()
}
configuration::Error::JsonDeserializationError(inner) => connector::ParseError::from(
std::io::Error::new(std::io::ErrorKind::Other, inner.to_string()),
std::io::Error::new(std::io::ErrorKind::Other, inner),
),
configuration::Error::IntrospectionQueryExecutionError(inner) => {
connector::ParseError::from(std::io::Error::new(
std::io::ErrorKind::Other,
inner.to_string(),
inner,
))
}
configuration::Error::StoredProcedureIntrospectionError(inner) => {
connector::ParseError::from(std::io::Error::new(
std::io::ErrorKind::Other,
inner.to_string(),
inner,
))
}
})?;
Expand Down

0 comments on commit 5c4b2ec

Please sign in to comment.