Skip to content

Commit

Permalink
rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGariepy committed Feb 8, 2023
1 parent 493b75b commit 45c06c9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cornucopia/src/type_registrar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,7 @@ pub fn custom_ty_path(schema: &str, struct_name: &str, ctx: &GenCtx) -> String {
} else if ctx.depth == 1 {
format!("super::{schema}::{struct_name}")
} else {
ctx.path(
ctx.depth,
format_args!("types::{schema}::{struct_name}"),
)
ctx.path(ctx.depth, format_args!("types::{schema}::{struct_name}"))
}
}

Expand Down

0 comments on commit 45c06c9

Please sign in to comment.