Skip to content

Commit

Permalink
fix: format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gvieira18 committed Nov 9, 2024
1 parent 3af26db commit 8a829a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/helpers/query_parameter.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use scylla::serialize::{
RowWriter, SerializationError,
row::{RowSerializationContext, SerializeRow},
value::SerializeCql,
RowWriter, SerializationError,
};

use super::{cql_value_bridge::ParameterWithMapType, to_cql_value::ToCqlValue};
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/query_results.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::collections::HashMap;

use napi::bindgen_prelude::{BigInt, Either9, Either10, Either11};
use napi::bindgen_prelude::{BigInt, Either10, Either11, Either9};
use scylla::frame::response::result::{ColumnType, CqlValue};

use crate::types::{decimal::Decimal, duration::Duration, uuid::Uuid};
Expand Down
2 changes: 1 addition & 1 deletion src/session/scylla_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use crate::query::scylla_prepared_statement::PreparedStatement;
use crate::query::scylla_query::Query;
use crate::types::tracing::TracingReturn;
use crate::types::uuid::Uuid;
use napi::Either;
use napi::bindgen_prelude::Either3;
use napi::Either;
use scylla::statement::query::Query as ScyllaQuery;

use super::metrics;
Expand Down
4 changes: 2 additions & 2 deletions src/types/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ impl Serialize for CqlTimestampWrapper {
where
S: serde::Serializer,
{
serializer.serialize_i64(self.0.0)
serializer.serialize_i64(self.0 .0)
}
}

Expand Down Expand Up @@ -88,4 +88,4 @@ impl From<scylla::tracing::TracingEvent> for TracingEvent {
}

pub type TracingReturn =
HashMap<String, Either<Vec<HashMap<String, WithMapType>>, serde_json::Value>>;
HashMap<String, Either<Vec<HashMap<String, WithMapType>>, serde_json::Value>>;

0 comments on commit 8a829a9

Please sign in to comment.