Run cargo fmt
This commit is contained in:
parent
587176fe9f
commit
39bae201eb
4 changed files with 29 additions and 27 deletions
|
@ -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);
|
||||
|
|
|
@ -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>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue