File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " typed_index_collection"
33description = " Manage collection of objects"
4- version = " 2.3.0 "
4+ version = " 2.3.1 "
55authors = [" Hove <core@hove.com>" ]
66edition = " 2018"
77license = " MIT"
Original file line number Diff line number Diff line change @@ -1071,18 +1071,18 @@ pub struct RefMut<'a, T: Id<T>> {
10711071 collection : & ' a mut CollectionWithId < T > ,
10721072 old_id : String ,
10731073}
1074- impl < ' a , T : Id < T > > ops:: DerefMut for RefMut < ' a , T > {
1074+ impl < T : Id < T > > ops:: DerefMut for RefMut < ' _ , T > {
10751075 fn deref_mut ( & mut self ) -> & mut T {
10761076 & mut self . collection . collection . objects [ self . idx . get ( ) ]
10771077 }
10781078}
1079- impl < ' a , T : Id < T > > ops:: Deref for RefMut < ' a , T > {
1079+ impl < T : Id < T > > ops:: Deref for RefMut < ' _ , T > {
10801080 type Target = T ;
10811081 fn deref ( & self ) -> & T {
10821082 & self . collection . objects [ self . idx . get ( ) ]
10831083 }
10841084}
1085- impl < ' a , T : Id < T > > Drop for RefMut < ' a , T > {
1085+ impl < T : Id < T > > Drop for RefMut < ' _ , T > {
10861086 fn drop ( & mut self ) {
10871087 if self . id ( ) != self . old_id {
10881088 self . collection . id_to_idx . remove ( & self . old_id ) ;
Original file line number Diff line number Diff line change 22
33#![ deny( missing_docs) ]
44// `derivative` does not implement `Clone` the correct way if it also implements `Copy`
5- #![ allow( clippy:: incorrect_clone_impl_on_copy_type ) ]
5+ #![ allow( clippy:: non_canonical_clone_impl ) ]
66
77mod collection;
88mod error;
You can’t perform that action at this time.
0 commit comments