mirror of
				https://github.com/astral-sh/uv.git
				synced 2025-10-30 19:48:11 +00:00 
			
		
		
		
	Use distinct Constraints and Overrides types more widely (#2741)
				
					
				
			## Summary No functional changes.
This commit is contained in:
		
							parent
							
								
									472d302ef0
								
							
						
					
					
						commit
						6d5b5ae9a2
					
				
					 15 changed files with 71 additions and 45 deletions
				
			
		|  | @ -14,6 +14,7 @@ pub struct AllowedYanks(FxHashMap<PackageName, FxHashSet<Version>>); | |||
| impl AllowedYanks { | ||||
|     pub fn from_manifest(manifest: &Manifest, markers: &MarkerEnvironment) -> Self { | ||||
|         let mut allowed_yanks = FxHashMap::<PackageName, FxHashSet<Version>>::default(); | ||||
| 
 | ||||
|         for requirement in manifest | ||||
|             .requirements(markers) | ||||
|             .chain(manifest.preferences.iter().map(Preference::requirement)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Charlie Marsh
						Charlie Marsh