Skip to content

Commit

Permalink
Use awful suggested formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed Sep 16, 2024
1 parent b5e9983 commit 4871345
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ mod bar {

// Ensure closures can still access Bar even
// though `map` separates them from `fn_attr`.
let _ = &[1, 2, 3].map(|_| {
let _ = &[1, 2, 3].map(
|_| {
quote { Bar }.as_type()
});
}
);
}

// use_callers_scope should also work nested
Expand Down

0 comments on commit 4871345

Please sign in to comment.