Run cargo fmt

This commit is contained in:
Graham Esau 2023-02-26 19:47:10 +00:00
parent 587176fe9f
commit 39bae201eb
4 changed files with 29 additions and 27 deletions

View file

@ -25,7 +25,7 @@ macro_rules! decimal_impl {
};
}
#[cfg(feature="rust_decimal")]
#[cfg(feature = "rust_decimal")]
decimal_impl!(rust_decimal::Decimal);
#[cfg(feature="bigdecimal")]
#[cfg(feature = "bigdecimal")]
decimal_impl!(bigdecimal::BigDecimal);

View file

@ -18,7 +18,10 @@ impl Iterator for MyIterator {
// which MyIterator does not.
#[derive(JsonSchema)]
#[schemars(bound = "T::Item: JsonSchema", rename = "MyContainer")]
pub struct MyContainer<T> where T: Iterator {
pub struct MyContainer<T>
where
T: Iterator,
{
pub associated: T::Item,
pub generic: PhantomData<T>,
}