File tree 4 files changed +5
-3
lines changed
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ impl Compiler {
301
301
}
302
302
}
303
303
304
- impl < ' a > Chunk < ' a > {
304
+ impl Chunk < ' _ > {
305
305
/// Sets the name of this chunk, which results in more informative error traces.
306
306
pub fn set_name ( mut self , name : impl Into < String > ) -> Self {
307
307
self . name = name. into ( ) ;
Original file line number Diff line number Diff line change 65
65
// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
66
66
// warnings at all.
67
67
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
68
+ #![ cfg_attr( not( send) , allow( clippy:: arc_with_non_send_sync) ) ]
68
69
69
70
#[ macro_use]
70
71
mod macros;
Original file line number Diff line number Diff line change @@ -693,7 +693,8 @@ impl Table {
693
693
}
694
694
695
695
/// 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 < ( ) >
697
698
where
698
699
V : FromLua ,
699
700
{
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ mod inner {
53
53
54
54
pub ( crate ) struct ReentrantMutexGuard < ' a , T > ( & ' a T ) ;
55
55
56
- impl < ' a , T > Deref for ReentrantMutexGuard < ' a , T > {
56
+ impl < T > Deref for ReentrantMutexGuard < ' _ , T > {
57
57
type Target = T ;
58
58
59
59
#[ inline( always) ]
You can’t perform that action at this time.
0 commit comments