aboutsummaryrefslogtreecommitdiff
path: root/matroska/src/error.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-26 16:02:36 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-26 16:02:36 +0100
commit833e64c69de930ec1f596bb77e8685760831a8d5 (patch)
tree8d50df70fc7d06e62efa5692f4d6aedb21bbd586 /matroska/src/error.rs
parente4d4b62178a1f83b4c9632b4fd8b2dcd2eef1bd9 (diff)
downloadjellything-833e64c69de930ec1f596bb77e8685760831a8d5.tar
jellything-833e64c69de930ec1f596bb77e8685760831a8d5.tar.bz2
jellything-833e64c69de930ec1f596bb77e8685760831a8d5.tar.zst
even less copying
Diffstat (limited to 'matroska/src/error.rs')
-rw-r--r--matroska/src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/matroska/src/error.rs b/matroska/src/error.rs
index 367b017..11cd82a 100644
--- a/matroska/src/error.rs
+++ b/matroska/src/error.rs
@@ -20,5 +20,5 @@ pub enum Error {
#[error("unknown id")]
UnknownID,
#[error("io: {0}")]
- Io(std::io::Error),
+ Io(#[from] std::io::Error),
}