about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-30 16:51:56 +0000
committerGitHub <noreply@github.com>2020-03-30 16:51:56 +0000
commit6f0d8db529478ce41b429f06708fa600a97c2151 (patch)
treeda30fdd181ee42cc3cd6d44d5cf3f26bc0e1552d
parent159393745e7a9d102c8ef42dfb07128ebc2e2df0 (diff)
parentbeab6f34ce009bdb2e5f1d3694ebb7749944c033 (diff)
downloadrust-6f0d8db529478ce41b429f06708fa600a97c2151.tar.gz
rust-6f0d8db529478ce41b429f06708fa600a97c2151.zip
Merge #3775
3775: Fix typo r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
-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 8492c17af2f..d2efa22363a 100644
--- a/crates/stdx/src/lib.rs
+++ b/crates/stdx/src/lib.rs
@@ -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)*); }
     };