Fix lint issues and add comments
Lint issues: - spelling problems - iter instead of into_iter
This commit is contained in:
parent
db4b4d990d
commit
1171380877
6 changed files with 21 additions and 7 deletions
|
@ -42,7 +42,7 @@ impl From<u16> for Dtc {
|
|||
1 => Dtc::Chassis(n),
|
||||
2 => Dtc::Body(n),
|
||||
3 => Dtc::Network(n),
|
||||
_ => unreachable!(),
|
||||
_ => unreachable!(), // can't happen, only two bits
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue