Rust 1.78 (#11314)
Notable things I've had to fix due to 1.78: - Better detection of unused items - New clippy lint (`assigning_clones`) that points out places where assignment operations with clone rhs could be replaced with more performant `clone_into` Release Notes: - N/A
This commit is contained in:
@@ -3322,7 +3322,7 @@ impl Workspace {
|
||||
}
|
||||
|
||||
if &update.id != &self.last_active_view_id {
|
||||
self.last_active_view_id = update.id.clone();
|
||||
self.last_active_view_id.clone_from(&update.id);
|
||||
self.update_followers(
|
||||
is_project_item,
|
||||
proto::update_followers::Variant::UpdateActiveView(update),
|
||||
|
||||
Reference in New Issue
Block a user