diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-03 19:43:06 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-03 19:43:06 -0500 |
commit | 8a98d4fee2172d5ac53e74bcc95cd39aa68492a3 (patch) | |
tree | 10fb97bbd275fc1ea6a1e69300e7ba1bc1e35430 /src/frame.rs | |
parent | 22b2262bdc097ac6ddbe4c7ce488b1afb4f9127e (diff) | |
download | ttyrec-8a98d4fee2172d5ac53e74bcc95cd39aa68492a3.tar.gz ttyrec-8a98d4fee2172d5ac53e74bcc95cd39aa68492a3.zip |
remove async stuff, clean up everything else
will reintroduce the async stuff in a future commit
Diffstat (limited to 'src/frame.rs')
-rw-r--r-- | src/frame.rs | 3 |
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() { |