summaryrefslogtreecommitdiffstats
path: root/tokio-fs/src/file/open_options.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-fs/src/file/open_options.rs')
-rw-r--r--tokio-fs/src/file/open_options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-fs/src/file/open_options.rs b/tokio-fs/src/file/open_options.rs
index 70b78211..41f232e1 100644
--- a/tokio-fs/src/file/open_options.rs
+++ b/tokio-fs/src/file/open_options.rs
@@ -90,7 +90,7 @@ impl OpenOptions {
/// [`open`]: https://doc.rust-lang.org/std/fs/struct.OpenOptions.html#method.open
pub fn open<P>(&self, path: P) -> OpenFuture<P>
where
- P: AsRef<Path> + Send + 'static,
+ P: AsRef<Path> + Send + Unpin + 'static,
{
OpenFuture::new(self.0.clone(), path)
}