Skip to content

Commit e796cf1

Browse files
committed
fix(object_store): keep retry::Error::error() crate public
1 parent 3a04753 commit e796cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object_store/src/client/retry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl Error {
7979
}
8080
}
8181

82-
pub fn error(self, store: &'static str, path: String) -> crate::Error {
82+
pub(crate) fn error(self, store: &'static str, path: String) -> crate::Error {
8383
match self.status() {
8484
Some(StatusCode::NOT_FOUND) => crate::Error::NotFound {
8585
path,

0 commit comments

Comments
 (0)