summaryrefslogtreecommitdiff
path: root/src/sys/sendfile.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-09-04 18:25:41 +0000
committerGitHub <noreply@github.com>2021-09-04 18:25:41 +0000
commit5465167a7b56d8caeb4a44002eb108fadbfd49cb (patch)
tree3693b52af91034b1762205926ba8b00f06d4b685 /src/sys/sendfile.rs
parent39c63662ed910763b0ccc02473121f12517d1f42 (diff)
parenta757be75fcdda80d9c441db35fdfedb402714223 (diff)
downloadnix-5465167a7b56d8caeb4a44002eb108fadbfd49cb.zip
Merge #1511
1511: Document more things r=asomers a=asomers Also, test rustdoc in CI, and demote missing_docs from a deny to a warning (but still deny it in CI). Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'src/sys/sendfile.rs')
-rw-r--r--src/sys/sendfile.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/sendfile.rs b/src/sys/sendfile.rs
index a12c0411..7a210c6f 100644
--- a/src/sys/sendfile.rs
+++ b/src/sys/sendfile.rs
@@ -1,3 +1,5 @@
+//! Send data from a file to a socket, bypassing userland.
+
use cfg_if::cfg_if;
use std::os::unix::io::RawFd;
use std::ptr;