Fix a bunch of future clippy warnings (#3586)

* Fix a bunch of future clippy warnings

* Fix a bunch of future clippy warnings
This commit is contained in:
JT
2021-06-10 07:08:12 +12:00
committed by GitHub
parent e8a2250ef8
commit 383e874166
86 changed files with 237 additions and 258 deletions

View File

@ -536,12 +536,12 @@ impl Value {
/// Returns an iterator of the values rows
pub fn table_entries(&self) -> TableValueIter<'_> {
crate::value::iter::table_entries(&self)
crate::value::iter::table_entries(self)
}
/// Returns an iterator of the value's cells
pub fn row_entries(&self) -> RowValueIter<'_> {
crate::value::iter::row_entries(&self)
crate::value::iter::row_entries(self)
}
/// Returns true if the value is empty

View File

@ -78,7 +78,7 @@ impl ColumnPath {
span: _,
},
_,
) = parse(&text)
) = parse(text)
{
ColumnPath {
members: path.iter().map(|member| member.to_path_member()).collect(),