aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.rs')
-rw-r--r--src/frame.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/frame.rs b/src/frame.rs
index c617056..71b3988 100644
--- a/src/frame.rs
+++ b/src/frame.rs
@@ -18,7 +18,7 @@ pub struct Frame {
pub data: Vec<u8>,
}
-impl std::convert::TryFrom<Frame> for Vec<u8> {
+impl TryFrom<Frame> for Vec<u8> {
type Error = crate::error::Error;
fn try_from(frame: Frame) -> crate::error::Result<Self> {
@@ -45,7 +45,6 @@ impl std::convert::TryFrom<Frame> for Vec<u8> {
#[cfg(test)]
mod test {
use super::*;
- use std::convert::TryFrom as _;
#[test]
fn test_basic() {