From be66f5fed4e7a2e0d49ae00c419f9aefa157f025 Mon Sep 17 00:00:00 2001 From: TyOverby Date: Tue, 7 Apr 2015 13:35:11 -0700 Subject: [PATCH] change wording of some docs --- src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8f1edfe..24365ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,6 @@ extern crate rustc_serialize; extern crate byteorder; extern crate unicode; -//use std::old_io::{Buffer, MemWriter}; use rustc_serialize::{Encodable, Decodable}; pub use refbox::RefBox; @@ -48,9 +47,8 @@ mod refbox; ///! assert_eq!(target, decoded); ///! } ///! ``` -///! -/// A limit on the size of bytes to be read or written. +/// A limit on the amount of bytes that can be read or written. /// /// Size limits are an incredibly important part of both encoding and decoding. /// @@ -67,7 +65,7 @@ mod refbox; /// that is larger than your decoder expects. By supplying a size limit to an /// encoding function, the encoder will verify that the structure can be encoded /// within that limit. This verification occurs before any bytes are written to -/// the Writer, so recovering from an the error is possible. +/// the Writer, so recovering from an the error is easy. #[derive(Clone, Copy, Debug, Hash, Eq, PartialEq, Ord, PartialOrd)] pub enum SizeLimit { Infinite,