Skip to content

Commit

Permalink
fix so we dont need to import Identifiable when using macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajjon committed Dec 17, 2023
1 parent d6a1b77 commit 99b7d22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identified_vec"
version = "0.1.7"
version = "0.1.8"
edition = "2021"
authors = ["Alexander Cyon <alex.cyon@gmail.com>"]
description = "Like HashSet but retaining INSERTION order and without `Hash` requirement on the Element type."
Expand Down
3 changes: 2 additions & 1 deletion src/vec_of/newtype_identified_vec_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ macro_rules! newtype_identified_vec {
#[cfg(any(test, feature = "serde"))]
impl<'de> serde::Deserialize<'de> for $struct_name
where
$item_ty: serde::Deserialize<'de> + Identifiable + std::fmt::Debug + Clone,
$item_ty:
serde::Deserialize<'de> + identified_vec::Identifiable + std::fmt::Debug + Clone,
{
#[cfg(not(tarpaulin_include))] // false negative
fn deserialize<D: serde::Deserializer<'de>>(
Expand Down

0 comments on commit 99b7d22

Please # to comment.