File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,13 +92,14 @@ fn sender(socket: fd::OwnedFd) -> ! {
9292 //
9393 // The unix(7) man page for Linux says:
9494 //
95- // At least one byte of real data should be sent when sending ancillary
96- // data. On Linux, this is required to successfully send ancillary data
97- // over a UNIX domain stream socket. When sending ancillary data over a
98- // UNIX domain datagram socket, it is not necessary on Linux to send any
99- // accompanying real data. However, portable applications should also in‐
100- // clude at least one byte of real data when sending ancillary data over a
101- // datagram socket.
95+ // > At least one byte of real data should be sent when sending
96+ // > ancillary data. On Linux, this is required to successfully send
97+ // > ancillary data over a UNIX domain stream socket. When sending
98+ // > ancillary data over a UNIX domain datagram socket, it is not
99+ // > necessary on Linux to send any accompanying real data. However,
100+ // > portable applications should also in‐ clude at least one byte
101+ // > of real data when sending ancillary data over a datagram
102+ // > socket.
102103 socket:: sendmsg :: < ( ) > (
103104 socket. as_raw_fd ( ) ,
104105 & [ std:: io:: IoSlice :: new ( b"X" ) ] , // one byte of "real" data
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ fn main() {
44 let source = include_str ! ( "webgpu.idl" ) ;
55 let ( remaining, parsed) =
66 weedle:: Definitions :: parse ( source) . expect ( "failed to parse `Definitions`" ) ;
7- println ! ( "parsed:{ :#?}" , parsed ) ;
7+ println ! ( "parsed: {parsed :#?}" , ) ;
88 println ! ( ) ;
99 println ! ( "remaining: {remaining:?}" ) ;
1010}
You can’t perform that action at this time.
0 commit comments