Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Nov 27, 2023
1 parent cb95e64 commit cbc9fa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/oapi-macros/src/schema/flattened_map_schema.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use proc_macro2::TokenStream;
use quote::{quote, ToTokens};
use crate::feature::{pop_feature, Feature, FeaturesExt};
use crate::{ComponentSchema, ComponentSchemaProps};
use proc_macro2::TokenStream;
use quote::{quote, ToTokens};

#[derive(Debug)]
pub(crate) struct FlattenedMapSchema {
Expand Down
3 changes: 1 addition & 2 deletions crates/oapi-macros/src/schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ mod xml;
pub(crate) use self::{
enum_schemas::*,
feature::{FromAttributes, NamedFieldStructFeatures, UnnamedFieldStructFeatures},
struct_schemas::*,
flattened_map_schema::*,
struct_schemas::*,
xml::XmlAttr,
};

Expand All @@ -28,7 +28,6 @@ use super::{
ComponentSchema, FieldRename, VariantRename,
};


pub(crate) struct ToSchema<'a> {
ident: &'a Ident,
attributes: &'a [Attribute],
Expand Down

0 comments on commit cbc9fa7

Please sign in to comment.