Skip to content

Commit e955bf5

Browse files
committed
add Clone to Error
Signed-off-by: Dave Huseby <[email protected]>
1 parent 89d4d1c commit e955bf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "multitrait"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2021"
55
authors = ["Dave Huseby <[email protected]>"]
66
description = "Multiformat traits"

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use thiserror::Error;
22

33
/// Errors generated by the numeric type impls
4-
#[derive(Debug, Error, PartialEq)]
4+
#[derive(Clone, Debug, Error, PartialEq)]
55
#[non_exhaustive]
66
pub enum Error {
77
/// an unsigned-varint error

0 commit comments

Comments
 (0)