From cde28360b798ef63b68ecb5b805cf0069f6c010b Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 20 Oct 2015 15:27:17 +0200 Subject: [PATCH] remove deprecated derive(Show) `derive(Show)` has been deprecated for a while. This is the only regression detected by crater. See also [the pull request that will break this crate](https://github.com/rust-lang/rust/pull/29148#issuecomment-149268767) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index bfb6a7e..f340da9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,7 @@ pub struct IdsContainer { next_id: u32 } -#[derive(Copy, Clone, Show, PartialEq, Eq, Hash)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] pub struct Id { value: u32, }