Run cargo fmt

The CI requirements for formatting have changed over the past 3 years

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
This commit is contained in:
Patrick Roy
2022-11-15 16:47:47 +00:00
committed by Alexandra Iordache
parent f3e710ce26
commit d2caafab0e
3 changed files with 17 additions and 12 deletions

View File

@@ -492,12 +492,13 @@ impl HttpServer {
/// server.start_server().unwrap();
///
/// // Add our server to the `epoll` manager.
/// epoll.ctl(
/// epoll::ControlOperation::Add,
/// server.epoll().as_raw_fd(),
/// epoll::EpollEvent::new(epoll::EventSet::IN, 1234u64),
/// )
/// .unwrap();
/// epoll
/// .ctl(
/// epoll::ControlOperation::Add,
/// server.epoll().as_raw_fd(),
/// epoll::EpollEvent::new(epoll::EventSet::IN, 1234u64),
/// )
/// .unwrap();
///
/// // Connect a client to the server so it doesn't block in our example.
/// let mut socket = std::os::unix::net::UnixStream::connect(path_to_socket).unwrap();