From 940b50f2164d670c34b0d97baeb161d821bf0e27 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 27 Jun 2016 02:43:31 -0700 Subject: [PATCH] Fix typo in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e6b74e..20dca81 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ but avoids the performance penalty of going through ```rust extern crate itoa; -let buf = Vec::new(); -itoa::write(buf, 128u64).unwrap(); +let mut buf = Vec::new(); +itoa::write(&mut buf, 128u64).unwrap(); ``` The function signature is: