Skip to content

Commit d5bf594

Browse files
authored
fixed bug when library refused to compile (#216)
1 parent d2a9dd8 commit d5bf594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monoio/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl RuntimeBuilder<TimeDriver<FusionDriver>> {
260260

261261
/// Build the runtime.
262262
#[cfg(all(target_os = "linux", feature = "iouring", not(feature = "legacy")))]
263-
pub fn build(&self) -> io::Result<crate::FusionRuntime<TimeDriver<IoUringDriver>>> {
263+
pub fn build(self) -> io::Result<crate::FusionRuntime<TimeDriver<IoUringDriver>>> {
264264
let builder = RuntimeBuilder::<TimeDriver<IoUringDriver>> {
265265
entries: self.entries,
266266
urb: self.urb,

0 commit comments

Comments
 (0)