Fix clippy::len_zero lint style violations (#36589)

Related: #36577

Release Notes:

- N/A

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>
This commit is contained in:
Umesh Yadav
2025-08-20 14:35:59 +00:00
committed by GitHub
parent 92352f97ad
commit 1e6cefaa56
24 changed files with 46 additions and 46 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ impl SerializedWorkspaceLocation {
pub fn sorted_paths(&self) -> Arc<Vec<PathBuf>> {
match self {
SerializedWorkspaceLocation::Local(paths, order) => {
if order.order().len() == 0 {
if order.order().is_empty() {
paths.paths().clone()
} else {
Arc::new(