fix(rustup): Remove uses of the obsolete &a[] syntax
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							234fcdc3a2
						
					
				
				
					commit
					039e984f68
				
			| @@ -31,7 +31,7 @@ impl Header for Pragma { | ||||
|  | ||||
|     fn parse_header(raw: &[Vec<u8>]) -> Option<Pragma> { | ||||
|         parsing::from_one_raw_str(raw).and_then(|s: String| { | ||||
|             let slice = &s.to_ascii_lowercase()[]; | ||||
|             let slice = &s.to_ascii_lowercase()[..]; | ||||
|             match slice { | ||||
|                 "" => None, | ||||
|                 "no-cache" => Some(Pragma::NoCache), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user