Skip to content

Commit 2edbfcf

Browse files
authored
Add #[inline] attribute
1 parent c5c743b commit 2edbfcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backends/linux_raw.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ unsafe fn getrandom_syscall(buf: *mut u8, buflen: usize, flags: u32) -> isize {
9999
r0
100100
}
101101

102+
#[inline]
102103
pub fn fill_inner(mut dest: &mut [MaybeUninit<u8>]) -> Result<(), Error> {
103104
// Value of this error code is stable across all target arches.
104105
const EINTR: isize = -4;

0 commit comments

Comments
 (0)