Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kyren committed Oct 30, 2023
1 parent ce826a4 commit 798fd9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gc-arena-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ fn collect_derive(mut s: synstructure::Structure) -> TokenStream {
}

let Some(mode) = mode else {
panic!("{}", "deriving `Collect` requires a `#[collect(...)]` attribute");
panic!(
"{}",
"deriving `Collect` requires a `#[collect(...)]` attribute"
);
};

let where_clause = if mode == Mode::RequireStatic {
Expand Down

0 comments on commit 798fd9d

Please sign in to comment.