Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajjon committed Dec 15, 2023
1 parent 131ef07 commit f630441
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions identified_vec/src/is_identifiable_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ where
///
/// impl Identifiable for User {
/// type ID = &'static str;
/// fn id(&self) -> ID {
/// fn id(&self) -> Self::ID {
/// self.id
/// }
/// }
Expand Down Expand Up @@ -197,7 +197,7 @@ where
///
/// impl Identifiable for User {
/// type ID = &'static str;
/// fn id(&self) -> ID {
/// fn id(&self) -> Self::ID {
/// self.id
/// }
/// }
Expand Down
2 changes: 0 additions & 2 deletions identified_vec/src/is_identified_vec_via.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use crate::conflict_resolution_choice::ConflictResolutionChoice;
use crate::{Identifiable, IdentifiedVecOf, IsIdentifiableVec, IsIdentifiableVecOf};
use std::fmt::Debug;
use std::hash::Hash;

/// https://stackoverflow.com/a/66537661/1311272
pub trait ViaMarker {}
Expand Down
6 changes: 3 additions & 3 deletions identified_vec/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ use crate::is_identifiable_vec::IsIdentifiableVec;
///
/// impl Identifiable for User {
/// type ID = &'static str;
/// fn id(&self) -> I {
/// fn id(&self) -> Self::ID {
/// self.id
/// }
/// }
Expand Down Expand Up @@ -353,7 +353,7 @@ where
///
/// impl Identifiable for User {
/// type ID = &'static str;
/// fn id(&self) -> I {
/// fn id(&self) -> Self::ID {
/// self.id
/// }
/// }
Expand Down Expand Up @@ -551,7 +551,7 @@ where
///
/// impl Identifiable for User {
/// type ID = &'static str;
/// fn id(&self) -> I {
/// fn id(&self) -> Self::ID {
/// self.id
/// }
/// }
Expand Down

0 comments on commit f630441

Please sign in to comment.