Skip to content

Commit beab6f3

Browse files
committed
Fix typo
1 parent 671926a commit beab6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stdx/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::{cell::Cell, fmt};
55
/// Appends formatted string to a `String`.
66
#[macro_export]
77
macro_rules! format_to {
8-
(&buf:expr) => ();
8+
($buf:expr) => ();
99
($buf:expr, $lit:literal $($arg:tt)*) => {
1010
{ use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); }
1111
};

0 commit comments

Comments
 (0)