aboutsummaryrefslogtreecommitdiff
path: root/crates/stdx
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-30 17:51:56 +0100
committerGitHub <[email protected]>2020-03-30 17:51:56 +0100
commit6f0d8db529478ce41b429f06708fa600a97c2151 (patch)
treeda30fdd181ee42cc3cd6d44d5cf3f26bc0e1552d /crates/stdx
parent159393745e7a9d102c8ef42dfb07128ebc2e2df0 (diff)
parentbeab6f34ce009bdb2e5f1d3694ebb7749944c033 (diff)
Merge #3775
3775: Fix typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/stdx')
-rw-r--r--crates/stdx/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/stdx/src/lib.rs b/crates/stdx/src/lib.rs
index 8492c17af..d2efa2236 100644
--- a/crates/stdx/src/lib.rs
+++ b/crates/stdx/src/lib.rs
@@ -5,7 +5,7 @@ use std::{cell::Cell, fmt};
5/// Appends formatted string to a `String`. 5/// Appends formatted string to a `String`.
6#[macro_export] 6#[macro_export]
7macro_rules! format_to { 7macro_rules! format_to {
8 (&buf:expr) => (); 8 ($buf:expr) => ();
9 ($buf:expr, $lit:literal $($arg:tt)*) => { 9 ($buf:expr, $lit:literal $($arg:tt)*) => {
10 { use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); } 10 { use ::std::fmt::Write as _; let _ = ::std::write!($buf, $lit $($arg)*); }
11 }; 11 };