mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-27 13:40:49 +00:00
fix delete error msg
This commit is contained in:
committed by
Paul Masurel
parent
80837601ea
commit
e8fc4c77e2
@@ -198,7 +198,7 @@ impl fmt::Display for DeleteError {
|
||||
}
|
||||
DeleteError::IOError(ref err) => {
|
||||
write!(f,
|
||||
"an io error occurred while opening a file for reading: '{}'",
|
||||
"an io error occurred while deleting a file: '{}'",
|
||||
err)
|
||||
}
|
||||
}
|
||||
@@ -207,7 +207,7 @@ impl fmt::Display for DeleteError {
|
||||
|
||||
impl StdError for DeleteError {
|
||||
fn description(&self) -> &str {
|
||||
"error occurred while opening a file for reading"
|
||||
"error occurred while deleting a file"
|
||||
}
|
||||
|
||||
fn cause(&self) -> Option<&StdError> {
|
||||
|
||||
Reference in New Issue
Block a user