]> git.lizzy.rs Git - rust.git/commitdiff
Removed trailing whitespace in on line 242 in int_macros.rs and on line 156 in uint_m...
authorJacob Hegna <jacobhegna@gmail.com>
Wed, 23 Apr 2014 00:47:57 +0000 (19:47 -0500)
committerJacob Hegna <jacobhegna@gmail.com>
Wed, 23 Apr 2014 00:47:57 +0000 (19:47 -0500)
src/libstd/num/int_macros.rs
src/libstd/num/uint_macros.rs

index 0f8392839e5078c8eed8f8bb94185399a8000177..cacd8d0aef91ac391fd550beb199bc7b5283d4b0 100644 (file)
@@ -239,11 +239,11 @@ impl Primitive for $T {}
 /// Yields an `Option` because `buf` may or may not actually be parseable.
 ///
 /// # Examples
-/// 
+///
 /// ```rust
 /// let digits = [49,50,51,52,53,54,55,56,57];
 /// let base   = 10;
-/// let num    = std::i64::from_str_radix(foo, 10);
+/// let num    = std::i64::parse_bytes(digits, base);
 /// ```
 #[inline]
 pub fn parse_bytes(buf: &[u8], radix: uint) -> Option<$T> {
index fe34ba830326fc2d6537ddfadf738aa283af131b..697390a00699c20271ad761bdea61eb36389692e 100644 (file)
@@ -153,7 +153,7 @@ impl Int for $T {}
 /// Yields an `Option` because `buf` may or may not actually be parseable.
 ///
 /// # Examples
-/// 
+///
 /// ```rust
 /// let digits = [49,50,51,52,53,54,55,56,57];
 /// let base   = 10;