@@ -197,7 +197,8 @@ pub struct Reader<R: Read> {
197197impl < R : Read > Reader < R > {
198198 /// Create a new CsvReader from any value that implements the `Read` trait.
199199 ///
200- /// If reading a `File` you can customise the Reader, such as to enable schema inference, use `ReaderBuilder`.
200+ /// If reading a `File` you can customise the Reader, such as to enable schema
201+ /// inference, use `ReaderBuilder`.
201202 pub fn new (
202203 reader : R ,
203204 schema : Arc < Schema > ,
@@ -216,8 +217,8 @@ impl<R: Read> Reader<R> {
216217
217218 /// Create a new CsvReader from a `BufReader<R: Read>
218219 ///
219- /// This constructor allows you more flexibility in what records are processed by the csv
220- /// reader.
220+ /// This constructor allows you more flexibility in what records are processed by the
221+ /// csv reader.
221222 pub fn from_buf_reader (
222223 buf_reader : BufReader < R > ,
223224 schema : Arc < Schema > ,
@@ -545,7 +546,8 @@ mod tests {
545546 Field :: new( "lng" , DataType :: Float64 , false ) ,
546547 ] ) ;
547548
548- let file_with_headers = File :: open ( "test/data/uk_cities_with_headers.csv" ) . unwrap ( ) ;
549+ let file_with_headers =
550+ File :: open ( "test/data/uk_cities_with_headers.csv" ) . unwrap ( ) ;
549551 let file_without_headers = File :: open ( "test/data/uk_cities.csv" ) . unwrap ( ) ;
550552 let both_files = file_with_headers
551553 . chain ( Cursor :: new ( "\n " . to_string ( ) ) )
0 commit comments