aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-03 19:43:06 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-03 19:43:06 -0500
commit8a98d4fee2172d5ac53e74bcc95cd39aa68492a3 (patch)
tree10fb97bbd275fc1ea6a1e69300e7ba1bc1e35430 /src/frame.rs
parent22b2262bdc097ac6ddbe4c7ce488b1afb4f9127e (diff)
downloadttyrec-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.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() {