File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ impl Compiler {
301301 }
302302}
303303
304- impl < ' a > Chunk < ' a > {
304+ impl Chunk < ' _ > {
305305 /// Sets the name of this chunk, which results in more informative error traces.
306306 pub fn set_name ( mut self , name : impl Into < String > ) -> Self {
307307 self . name = name. into ( ) ;
Original file line number Diff line number Diff line change 6565// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
6666// warnings at all.
6767#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
68+ #![ cfg_attr( not( send) , allow( clippy:: arc_with_non_send_sync) ) ]
6869
6970#[ macro_use]
7071mod macros;
Original file line number Diff line number Diff line change @@ -693,7 +693,8 @@ impl Table {
693693 }
694694
695695 /// Iterates over the sequence part of the table, invoking the given closure on each value.
696- pub ( crate ) fn for_each_value < V > ( & self , mut f : impl FnMut ( V ) -> Result < ( ) > ) -> Result < ( ) >
696+ #[ doc( hidden) ]
697+ pub fn for_each_value < V > ( & self , mut f : impl FnMut ( V ) -> Result < ( ) > ) -> Result < ( ) >
697698 where
698699 V : FromLua ,
699700 {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ mod inner {
5353
5454 pub ( crate ) struct ReentrantMutexGuard < ' a , T > ( & ' a T ) ;
5555
56- impl < ' a , T > Deref for ReentrantMutexGuard < ' a , T > {
56+ impl < T > Deref for ReentrantMutexGuard < ' _ , T > {
5757 type Target = T ;
5858
5959 #[ inline( always) ]
You can’t perform that action at this time.
0 commit comments