Fix typo
This commit is contained in:
parent
671926ac93
commit
beab6f34ce
@ -5,7 +5,7 @@
|
|||||||
/// Appends formatted string to a `String`.
|
/// Appends formatted string to a `String`.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! format_to {
|
macro_rules! format_to {
|
||||||
(&buf:expr) => ();
|
($buf:expr) => ();
|
||||||
($buf:expr, $lit:literal $($arg:tt)*) => {
|
($buf:expr, $lit:literal $($arg:tt)*) => {
|
||||||
{ use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); }
|
{ use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user