cargo fix --edition

This commit is contained in:
Greg Fitzgerald
2018-12-07 20:16:27 -07:00
parent 92584bd323
commit ec5a8141eb
52 changed files with 435 additions and 429 deletions

View File

@@ -1,6 +1,6 @@
//! The `recvmmsg` module provides recvmmsg() API implementation
use packet::Packet;
use crate::packet::Packet;
use std::cmp;
use std::io;
use std::net::UdpSocket;
@@ -85,8 +85,8 @@ pub fn recv_mmsg(sock: &UdpSocket, packets: &mut [Packet]) -> io::Result<usize>
#[cfg(test)]
mod tests {
use packet::PACKET_DATA_SIZE;
use recvmmsg::*;
use crate::packet::PACKET_DATA_SIZE;
use crate::recvmmsg::*;
#[test]
pub fn test_recv_mmsg_one_iter() {