Skip to content

Commit

Permalink
re-add important bounds to AppId in example
Browse files Browse the repository at this point in the history
  • Loading branch information
kerristrasz committed Aug 6, 2024
1 parent 4036c93 commit bb9e581
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use std::collections::BTreeMap;
use std::hash::Hash;
use serde::Serialize;

#[derive(Serialize)]
#[derive(Copy, Clone, PartialOrd, Ord, Serialize)]
struct AppId(u32);

#[derive(Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! use std::hash::Hash;
//! use serde::Serialize;
//!
//! #[derive(Serialize)]
//! #[derive(Copy, Clone, PartialOrd, Ord, Serialize)]
//! struct AppId(u32);
//!
//! #[derive(Serialize)]
Expand Down

0 comments on commit bb9e581

Please sign in to comment.