mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Fix typo
This commit is contained in:
parent
671926ac93
commit
beab6f34ce
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ use std::{cell::Cell, fmt};
|
|||
/// Appends formatted string to a `String`.
|
||||
#[macro_export]
|
||||
macro_rules! format_to {
|
||||
(&buf:expr) => ();
|
||||
($buf:expr) => ();
|
||||
($buf:expr, $lit:literal $($arg:tt)*) => {
|
||||
{ use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue