Skip to content

Commit 6cc4579

Browse files
committed
Fix dbg macro
1 parent 59bd03f commit 6cc4579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ macro_rules! dbg {
289289
// `$val` expression could be a block (`{ .. }`), in which case the `eprintln!`
290290
// will be malformed.
291291
() => {
292-
$crate::eprintln!("[{}:{}]", $crate::file!(), $crate::line!());
292+
$crate::eprintln!("[{}:{}]", $crate::file!(), $crate::line!())
293293
};
294294
($val:expr $(,)?) => {
295295
// Use of `match` here is intentional because it affects the lifetimes

0 commit comments

Comments
 (0)