Skip to content

Commit

Permalink
Fix format string.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Jun 5, 2024
1 parent 5b5c02d commit 13d957f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html5ever/src/tokenizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ macro_rules! shorthand (
// so it's behind a cfg flag.
#[cfg(feature = "trace_tokenizer")]
macro_rules! sh_trace ( ( $me:ident : $($cmds:tt)* ) => ({
trace!(" {:s}", stringify!($($cmds)*));
trace!(" {:?}", stringify!($($cmds)*));
shorthand!($me:expr : $($cmds)*);
}));

Expand Down
2 changes: 1 addition & 1 deletion xml5ever/src/tokenizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ macro_rules! shorthand (
// so it's behind a cfg flag.
#[cfg(feature = "trace_tokenizer")]
macro_rules! sh_trace ( ( $me:ident : $($cmds:tt)* ) => ({
debug!(" {:s}", stringify!($($cmds)*));
debug!(" {:?}", stringify!($($cmds)*));
shorthand!($me:expr : $($cmds)*);
}));

Expand Down

0 comments on commit 13d957f

Please sign in to comment.