Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
tafia committed Aug 10, 2021
1 parent 748e069 commit e35cbdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/errors.rs
Expand Up @@ -52,10 +52,10 @@ impl From<::std::str::Utf8Error> for Error {
}
}

impl From<::escape::EscapeError> for Error {
impl From<crate::escape::EscapeError> for Error {
/// Creates a new `Error::EscapeError` from the given error
#[inline]
fn from(error: ::escape::EscapeError) -> Error {
fn from(error: crate::escape::EscapeError) -> Error {
Error::EscapeError(error)
}
}
Expand Down

0 comments on commit e35cbdc

Please sign in to comment.