We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1593937 + beab6f3 commit 6f0d8dbCopy full SHA for 6f0d8db
crates/stdx/src/lib.rs
@@ -5,7 +5,7 @@ use std::{cell::Cell, fmt};
5
/// Appends formatted string to a `String`.
6
#[macro_export]
7
macro_rules! format_to {
8
- (&buf:expr) => ();
+ ($buf:expr) => ();
9
($buf:expr, $lit:literal $($arg:tt)*) => {
10
{ use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); }
11
};
0 commit comments