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:
committed by
Alexandra Iordache
parent
f3e710ce26
commit
d2caafab0e
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user