File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ pub trait Frame {
32
32
33
33
/// Returns the data length code (DLC) which is in the range 0..8.
34
34
///
35
- /// For data frames the DLC value always matches the lenght of the data.
36
- /// Remote frames no not carry any data, yet the DLC can be greater than 0.
35
+ /// For data frames the DLC value always matches the length of the data.
36
+ /// Remote frames do not carry any data, yet the DLC can be greater than 0.
37
37
fn dlc ( & self ) -> usize ;
38
38
39
39
/// Returns the frame data (0..8 bytes in length).
@@ -105,7 +105,7 @@ pub enum RtrFilterBehavior {
105
105
OnlyRemote ,
106
106
}
107
107
108
- /// A filter group with it’s capabilities.
108
+ /// A filter group with its capabilities.
109
109
pub trait FilterGroup {
110
110
/// Returns the number of consecutive filter with the same capability.
111
111
fn num_filters ( & self ) -> usize ;
@@ -151,7 +151,7 @@ pub trait Filter {
151
151
/// Only available for filters with `RtrFilterBehavior::Configurable`.
152
152
fn allow_remote ( & mut self ) -> & mut Self ;
153
153
154
- /// Makes the filter acccept both data and remote frames.
154
+ /// Makes the filter acccept remote frames only .
155
155
///
156
156
/// Sets the RTR bit in the filter and clears it in the mask (if available).
157
157
/// Only available for filters with `RtrFilterBehavior::Configurable` or
You can’t perform that action at this time.
0 commit comments