mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
flog.rs: use qualified name in FLOG! macro
Otherwise this macro fails when used in a context that doesn't import this name.
This commit is contained in:
@@ -150,7 +150,7 @@ pub fn flog_impl(s: &str) {
|
||||
|
||||
macro_rules! FLOG {
|
||||
($category:ident, $($elem:expr),+) => {
|
||||
if crate::flog::categories::$category.enabled.load(Ordering::Relaxed) {
|
||||
if crate::flog::categories::$category.enabled.load(std::sync::atomic::Ordering::Relaxed) {
|
||||
let mut vs = Vec::new();
|
||||
$(
|
||||
vs.push(format!("{:?}", $elem));
|
||||
|
||||
Reference in New Issue
Block a user