Don't redundantly repeat field names (clippy::redundant_field_names)
This commit is contained in:
parent
865b44a3e3
commit
83980aca20
61 changed files with 88 additions and 100 deletions
|
@ -371,7 +371,7 @@ where
|
|||
F: FnMut(&R) -> usize,
|
||||
{
|
||||
let start_len = buf.len();
|
||||
let mut g = Guard { len: buf.len(), buf: buf };
|
||||
let mut g = Guard { len: buf.len(), buf };
|
||||
let ret;
|
||||
loop {
|
||||
if g.len == g.buf.len() {
|
||||
|
@ -939,7 +939,7 @@ pub trait Read {
|
|||
where
|
||||
Self: Sized,
|
||||
{
|
||||
Take { inner: self, limit: limit }
|
||||
Take { inner: self, limit }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue