diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-21 13:08:31 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-22 08:09:56 -0700 |
| commit | daf5f5a4d10513ff42e79fa7ef8819b170f3a13d (patch) | |
| tree | 7a07a79c43e02debcc6bbb33d90a5e41b70119e6 /src/libstd/rand/reader.rs | |
| parent | 15a6bdebab4e7b811b9a902e3f8ed225c59af06e (diff) | |
| download | rust-daf5f5a4d10513ff42e79fa7ef8819b170f3a13d.tar.gz rust-daf5f5a4d10513ff42e79fa7ef8819b170f3a13d.zip | |
Drop the '2' suffix from logging macros
Who doesn't like a massive renaming?
Diffstat (limited to 'src/libstd/rand/reader.rs')
| -rw-r--r-- | src/libstd/rand/reader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rand/reader.rs b/src/libstd/rand/reader.rs index 961a5b2cd28..f1e67da815e 100644 --- a/src/libstd/rand/reader.rs +++ b/src/libstd/rand/reader.rs @@ -68,9 +68,9 @@ impl<R: Reader> Rng for ReaderRng<R> { if v.len() == 0 { return } match self.reader.read(v) { Some(n) if n == v.len() => return, - Some(n) => fail2!("ReaderRng.fill_bytes could not fill buffer: \ + Some(n) => fail!("ReaderRng.fill_bytes could not fill buffer: \ read {} out of {} bytes.", n, v.len()), - None => fail2!("ReaderRng.fill_bytes reached eof.") + None => fail!("ReaderRng.fill_bytes reached eof.") } } } |
