Skip to content

Commit

Permalink
rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dishmaker committed Feb 25, 2025
1 parent c4e4ad8 commit 49daebb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions der/src/asn1/bit_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,15 +347,6 @@ mod allocating {
}
}

// /// Hack for simplifying the custom derive use case.
// impl<'a> TryFrom<Vec<u8>> for BitStringRef<'a> {
// type Error = Error;

// fn try_from(bytes: Vec<u8>) -> Result<BitStringRef<'a>> {
// BitStringRef::from_bytes(&bytes)
// }
// }

/// Hack for simplifying the custom derive use case.
impl<'a> TryFrom<&'a Vec<u8>> for BitStringRef<'a> {
type Error = Error;
Expand Down

0 comments on commit 49daebb

Please sign in to comment.