Skip to content

Commit 27b1160

Browse files
committed
Allow deprecation to Error::description
We cannot simply remove it as it's a breaking change. Signed-off-by: Yuki Okushi <jtitor@2k36.org>
1 parent 80588ef commit 27b1160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ impl GlobError {
293293
}
294294

295295
impl Error for GlobError {
296+
#[allow(deprecated)]
296297
fn description(&self) -> &str {
297298
self.error.description()
298299
}

0 commit comments

Comments
 (0)