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

@ -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>,
}