File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,7 @@ impl FileInput {
210
210
pub fn next_file ( & self ) -> bool {
211
211
// No more files
212
212
213
- // unsafe block can be removed after the next snapshot
214
- // (next one after 2013-05-03)
215
- if unsafe { self . fi . files . is_empty ( ) } {
213
+ if self . fi . files . is_empty ( ) {
216
214
self . fi . current_reader = None ;
217
215
return false ;
218
216
}
@@ -324,9 +322,7 @@ impl io::Reader for FileInput {
324
322
fn eof ( & self ) -> bool {
325
323
// we've run out of files, and current_reader is either None or eof.
326
324
327
- // unsafe block can be removed after the next snapshot
328
- // (next one after 2013-05-03)
329
- ( unsafe { self . fi . files . is_empty ( ) } ) &&
325
+ self . fi . files . is_empty ( ) &&
330
326
match self . fi . current_reader { None => true , Some ( r) => r. eof ( ) }
331
327
332
328
}
You can’t perform that action at this time.
0 commit comments