From 7f3c0f5b69e76de03417c84d3d217c0bf866e5ec Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 24 Dec 2021 04:28:30 -0600 Subject: Update dependencies --- examples/ext2.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/ext2.rs b/examples/ext2.rs index 01bbf4b..996d1fd 100644 --- a/examples/ext2.rs +++ b/examples/ext2.rs @@ -476,11 +476,8 @@ impl blown_fuse::fs::Inode for Inode { } } -fn early_error(_: ()) -> Result -where - nix::Error: Into, -{ - Err(nix::Error::Sys(Errno::EINVAL).into()) +fn early_error>(_: ()) -> Result { + Err(Errno::EINVAL.into()) } fn main() -> Result<(), Box> { -- cgit v1.2.3