Fix lint issues and add comments

Lint issues:
- spelling problems
- iter instead of into_iter
This commit is contained in:
Robert Sammelson 2025-03-20 02:17:56 -04:00
parent db4b4d990d
commit 1171380877
No known key found for this signature in database
GPG key ID: BEA2C00D29709D51
6 changed files with 21 additions and 7 deletions

View file

@ -13,7 +13,7 @@ pub trait Obd2Device {
///
/// The responses are a list with one element for each ECU that responds. The data is decoded
/// into the ODB-II bytes from the vehicle and the first byte of the response---representing
/// the mode the vehicle recieved---is validated and removed.
/// the mode the vehicle received---is validated and removed.
fn obd_mode_command(&mut self, mode: u8) -> Result<Vec<Vec<u8>>>;
/// Send command and get list of OBD-II responses as an array