diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-26 16:02:36 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-26 16:02:36 +0100 |
commit | 833e64c69de930ec1f596bb77e8685760831a8d5 (patch) | |
tree | 8d50df70fc7d06e62efa5692f4d6aedb21bbd586 /matroska/src/error.rs | |
parent | e4d4b62178a1f83b4c9632b4fd8b2dcd2eef1bd9 (diff) | |
download | jellything-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.rs | 2 |
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), } |