cargo fix --edition
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user