Skip to content

Commit 6f0d8db

Browse files
bors[bot]matklad
andauthored
Merge #3775
3775: Fix typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 1593937 + beab6f3 commit 6f0d8db

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)