Skip to content

Commit

Permalink
Update to Rust 1.85
Browse files Browse the repository at this point in the history
And fix new clippy warnings
  • Loading branch information
jcelliott committed Feb 20, 2025
1 parent d68345a commit 9cac795
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.84.1"
channel = "1.85.0"
2 changes: 1 addition & 1 deletion src/lib/src/model/data_frame/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl Schema {
// Perform the actual filter condition check
f.changes
.as_ref()
.map_or(true, |changes| changes.status != "deleted")
.is_none_or(|changes| changes.status != "deleted")
})
.map(|f| f.name.clone()) // Assuming name is a String and needs to be cloned
.collect()
Expand Down
4 changes: 1 addition & 3 deletions src/lib/src/view/entries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ impl EMetadataEntry {
EMetadataEntry::MetadataEntry(entry) => {
entry.resource.clone().map(ParsedResourceView::from)
}
EMetadataEntry::WorkspaceMetadataEntry(entry) => {
entry.resource.clone().map(ParsedResourceView::from)
}
EMetadataEntry::WorkspaceMetadataEntry(entry) => entry.resource.clone(),
}
}

Expand Down

0 comments on commit 9cac795

Please sign in to comment.