mirror of
https://github.com/rust-lang/rust
synced 2024-10-16 21:43:43 +00:00
Auto merge of #10734 - smoelius:patch-2, r=Alexendoo
Update macros.rs (typo) r? `@Alexendoo` changelog: none
This commit is contained in:
commit
c2e0d43485
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue