mirror of
				https://github.com/rust-lang/cargo.git
				synced 2025-11-03 13:12:53 +00:00 
			
		
		
		
	implement clippy suggestion to remove redundant clone
				
					
				
			This commit is contained in:
		
							parent
							
								
									e8a8f76432
								
							
						
					
					
						commit
						1c5861c8b4
					
				@ -234,7 +234,7 @@ fn pub_fail() {
 | 
			
		||||
        pkg!(("e", "0.0.6") => [dep_req_kind("a", "<= 0.0.4", Kind::Normal, true),]),
 | 
			
		||||
        pkg!(("kB", "0.0.3") => [dep_req("a", ">= 0.0.5"),dep("e"),]),
 | 
			
		||||
    ];
 | 
			
		||||
    let reg = registry(input.clone());
 | 
			
		||||
    let reg = registry(input);
 | 
			
		||||
    assert!(resolve_and_validated(vec![dep("kB")], ®, None).is_err());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user