fix(rustup): Remove uses of the obsolete &a[] syntax
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							234fcdc3a2
						
					
				
				
					commit
					039e984f68
				
			| @@ -42,7 +42,7 @@ impl FromStr for EntityTag { | ||||
|     type Err = (); | ||||
|     fn from_str(s: &str) -> Result<EntityTag, ()> { | ||||
|         let length: usize = s.len(); | ||||
|         let slice = &s[]; | ||||
|         let slice = &s[..]; | ||||
|  | ||||
|         // Early exits: | ||||
|         // 1. The string is empty, or, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user