Skip to content

Commit 5c980b0

Browse files
committed
glib: Fix usage of gformat! macro if GString is not in scope
1 parent f0b9630 commit 5c980b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib/src/gstring.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ impl GString {
951951
/// creating a [`String`] and then converting it manually to a [`GString`].
952952
#[macro_export]
953953
macro_rules! gformat {
954-
($($arg:tt)*) => { GString::format(std::format_args!($($arg)*)) };
954+
($($arg:tt)*) => { $crate::GString::format(std::format_args!($($arg)*)) };
955955
}
956956

957957
// rustdoc-stripper-ignore-next

0 commit comments

Comments
 (0)