mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	Merge #9408
9408: intenral: small improvements to compile time r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
			
			
This commit is contained in:
		
						commit
						ddce8b6033
					
				@ -119,7 +119,7 @@ impl ProjectManifest {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pub fn discover_all(paths: &[impl AsRef<AbsPath>]) -> Vec<ProjectManifest> {
 | 
					    pub fn discover_all(paths: &[AbsPathBuf]) -> Vec<ProjectManifest> {
 | 
				
			||||||
        let mut res = paths
 | 
					        let mut res = paths
 | 
				
			||||||
            .iter()
 | 
					            .iter()
 | 
				
			||||||
            .filter_map(|it| ProjectManifest::discover(it.as_ref()).ok())
 | 
					            .filter_map(|it| ProjectManifest::discover(it.as_ref()).ok())
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user