We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36ae5b5 commit 9863827Copy full SHA for 9863827
src/filesystem.rs
@@ -70,7 +70,7 @@ pub trait FileSystem: Debug + Sync + Send + 'static {
70
71
/// Opens the file at this path for reading and writing
72
fn update_file(&self, _path: &str) -> VfsResult<Box<dyn SeekAndReadAndWrite>> {
73
- Err(VfsError::NotSupported)
+ Err(VfsErrorKind::NotSupported.into())
74
}
75
76
src/impls/embedded.rs
@@ -106,10 +106,6 @@ where
106
107
108
109
- fn update_file(&self, _path: &str) -> VfsResult<Box<dyn crate::SeekAndReadAndWrite>> {
110
- Err(VfsErrorKind::NotSupported)
111
- }
112
-
113
fn create_file(&self, _path: &str) -> VfsResult<Box<dyn Write>> {
114
Err(VfsErrorKind::NotSupported.into())
115
0 commit comments