mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #3775
3775: Fix typo r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
6f0d8db529
@ -5,7 +5,7 @@ use std::{cell::Cell, fmt};
|
|||||||
/// 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…
x
Reference in New Issue
Block a user