Skip to content

Commit

Permalink
added derive copy (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
folkengine committed Apr 7, 2024
1 parent 52a3bce commit ce38028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bint"
description = "Bounded Integer in Rust."
version = "0.1.4"
version = "0.1.5"
rust-version = "1.34"
edition = "2018"
authors = ["electronicpanopticon <gaoler@electronicpanopticon.com>"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use std::fmt;
/// assert_eq!(0, c.value);
/// assert_eq!(1, d.value);
/// ```
#[derive(Clone, Debug, Default, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub struct Bint {
pub value: u8,
pub boundary: u8,
Expand Down

0 comments on commit ce38028

Please sign in to comment.