Skip to content

Commit 13d957f

Browse files
committed
Fix format string.
1 parent 5b5c02d commit 13d957f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html5ever/src/tokenizer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ macro_rules! shorthand (
618618
// so it's behind a cfg flag.
619619
#[cfg(feature = "trace_tokenizer")]
620620
macro_rules! sh_trace ( ( $me:ident : $($cmds:tt)* ) => ({
621-
trace!(" {:s}", stringify!($($cmds)*));
621+
trace!(" {:?}", stringify!($($cmds)*));
622622
shorthand!($me:expr : $($cmds)*);
623623
}));
624624

xml5ever/src/tokenizer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ macro_rules! shorthand (
548548
// so it's behind a cfg flag.
549549
#[cfg(feature = "trace_tokenizer")]
550550
macro_rules! sh_trace ( ( $me:ident : $($cmds:tt)* ) => ({
551-
debug!(" {:s}", stringify!($($cmds)*));
551+
debug!(" {:?}", stringify!($($cmds)*));
552552
shorthand!($me:expr : $($cmds)*);
553553
}));
554554

0 commit comments

Comments
 (0)