removed mutability of test variable that is not needed.
This commit is contained in:
		@@ -163,7 +163,7 @@ mod tests {
 | 
			
		||||
    // an IPv4 Address
 | 
			
		||||
    fn arr_to_ipaddr() {
 | 
			
		||||
        use super::*;
 | 
			
		||||
        let mut ip_addr: [u8; 4] = [127, 0, 0, 1];
 | 
			
		||||
        let ip_addr: [u8; 4] = [127, 0, 0, 1];
 | 
			
		||||
        assert_eq!(IpAddr::from_arr(&ip_addr).unwrap(), IpAddr::V4(127, 0, 0, 1));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user