Auto merge of #10734 - smoelius:patch-2, r=Alexendoo

Update macros.rs (typo)

r? `@Alexendoo`

changelog: none
This commit is contained in:
bors 2023-05-03 10:34:39 +00:00
commit c2e0d43485

View file

@ -362,7 +362,7 @@ fn is_assert_arg(cx: &LateContext<'_>, expr: &Expr<'_>, assert_expn: ExpnId) ->
/// able to access the many features of a [`LateContext`].
///
/// A thread local is used because [`FormatArgs`] is `!Send` and `!Sync`, we are making an
/// assumption that the early pass the populates the map and the later late passes will all be
/// assumption that the early pass that populates the map and the later late passes will all be
/// running on the same thread.
static AST_FORMAT_ARGS: RefCell<FxHashMap<Span, FormatArgs>> = {
static CALLED: AtomicBool = AtomicBool::new(false);