about summary refs log tree commit diff
path: root/library/std/src/sys/unix/fd.rs
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2023-05-01 13:28:19 +0200
committerKonrad Borowski <konrad@borowski.pw>2023-05-01 13:28:19 +0200
commit500a8e13361787ad24c9ee88f8345d853ff628d3 (patch)
treedea829332ae2b6abd1b5be7ec8736e0892970109 /library/std/src/sys/unix/fd.rs
parent3abc30719e588745c8a9190a9842263cd2bfc463 (diff)
downloadrust-500a8e13361787ad24c9ee88f8345d853ff628d3.tar.gz
rust-500a8e13361787ad24c9ee88f8345d853ff628d3.zip
Inline AsRawFd implementations
Diffstat (limited to 'library/std/src/sys/unix/fd.rs')
-rw-r--r--library/std/src/sys/unix/fd.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/fd.rs b/library/std/src/sys/unix/fd.rs
index 5cd756de271..45f96478fc3 100644
--- a/library/std/src/sys/unix/fd.rs
+++ b/library/std/src/sys/unix/fd.rs
@@ -506,6 +506,7 @@ impl AsFd for FileDesc {
 }
 
 impl AsRawFd for FileDesc {
+    #[inline]
     fn as_raw_fd(&self) -> RawFd {
         self.0.as_raw_fd()
     }