Skip to content

Commit

Permalink
Bad error handling is a thing of the past.
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Mar 24, 2014
1 parent 5be72e1 commit f702c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ impl<'a> Decoder<'a> {
}

/// Calls `decode` on every record in the CSV data until EOF and returns
/// them as a vector. (Sorry, hopefully this will change at some point.)
/// them as a vector.
pub fn decode_all<D: Decodable<Decoder<'a>>>
(&mut self) -> Result<Vec<D>, Error> {
let mut records: Vec<D> = vec!();
Expand Down

0 comments on commit f702c67

Please sign in to comment.