Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Jul 11, 2021
1 parent 19ed063 commit bb891d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -652,20 +652,20 @@
//! r#"DROP INDEX `idx-glyph-aspect` ON `glyph`"#
//! );
//! ```
//!
//!
//! ## License
//!
//!
//! Licensed under either of
//!
//!
//! - Apache License, Version 2.0
//! ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
//! - MIT license
//! ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
//!
//!
//! at your option.
//!
//!
//! ## Contribution
//!
//!
//! Unless you explicitly state otherwise, any contribution intentionally submitted
//! for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
//! dual licensed as above, without any additional terms or conditions.
Expand Down
3 changes: 1 addition & 2 deletions src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ macro_rules! type_to_box_value {
};
}


macro_rules! impl_value_type_default {
( $type: ty ) => {
impl ValueTypeDefault for $type {
Expand Down Expand Up @@ -505,7 +504,7 @@ pub fn sea_value_to_json_value(v: &Value) -> Json {
Value::Decimal(v) => {
use rust_decimal::prelude::ToPrimitive;
v.as_ref().to_f64().unwrap().into()
},
}
#[cfg(feature = "with-uuid")]
Value::Uuid(v) => Json::String(v.to_string()),
}
Expand Down

0 comments on commit bb891d8

Please sign in to comment.