it'll be an Ok(Something) or an Error(some_error). You need to do something with it
let some_result = wtr.write_record(&rows[j]);
match some_result {
Ok(val) => {do something with val here},
Err(err) => {do something with error here}
}
It's probably best to check the return value, like @zireael9797 suggested. If you're sure you don't care about the return value you can ignore the value:
// explicitly ignore return value
let _ = wtr.write_record(&rows[j]);
You can also ignore the result with the .ok() method, like wtr.write_record(&rows[j]).ok(). It's maybe more concise, but perhaps makes it less obvious what you're doing. Technically it converts a Result into a Option, losing the error details.
In general, you should handle errors instead of ignoreing them, unless there're some significant reason to not do so. There're several ways/hacks to ignore this kind warnings, but I'd expect a dedicated line of comments to describe why you ignore error here for every such occurence.
If you don't have much concern what to do on error, just .unwrap()-ing the Result would be better than just ignoring it, since it would make you think when it actually happens, instead of let some other code behave incorrectly and let you debug the entire code flow.