Skip to content

Commit

Permalink
resolvers: drop unneeded TryFrom impl
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <[email protected]>
  • Loading branch information
cyphar committed Dec 1, 2024
1 parent 4dec91f commit 4167ed8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/resolvers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,6 @@ impl TryInto<(Handle, Option<PathBuf>)> for PartialLookup<Handle> {
}
}

impl TryInto<(Handle, Option<PathBuf>)> for PartialLookup<Rc<OwnedFd>> {
type Error = Error;

fn try_into(self) -> Result<(Handle, Option<PathBuf>), Self::Error> {
PartialLookup::<Handle>::from(self).try_into()
}
}

impl From<PartialLookup<Rc<OwnedFd>>> for PartialLookup<Handle> {
fn from(result: PartialLookup<Rc<OwnedFd>>) -> Self {
let (rc, partial) = match result {
Expand Down

0 comments on commit 4167ed8

Please sign in to comment.