File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11// Take a look at the license at the top of the repository in the LICENSE file.
22
3+ #![ allow( clippy:: manual_c_str_literals) ]
34#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
45#![ doc = include_str ! ( "../README.md" ) ]
56
@@ -8,7 +9,6 @@ pub use gio;
89pub use glib;
910
1011#[ allow( clippy:: too_many_arguments) ]
11- #[ allow( clippy:: manual_c_str_literals) ]
1212mod auto;
1313
1414pub mod subclass;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pub struct BindingGroupBuilder<'a> {
3434 transform_from : TransformFn ,
3535}
3636
37- impl < ' a > fmt:: Debug for BindingGroupBuilder < ' a > {
37+ impl fmt:: Debug for BindingGroupBuilder < ' _ > {
3838 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
3939 f. debug_struct ( "BindingGroupBuilder" )
4040 . field ( "group" , & self . group )
Original file line number Diff line number Diff line change 22
33#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
44#![ allow( clippy:: missing_safety_doc) ]
5+ #![ allow( clippy:: manual_c_str_literals) ]
56#![ allow( renamed_and_removed_lints) ]
67// Override docs references to point to locally generated docs
78// rustdoc-stripper-ignore-next
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ fn init() {
77 // Make sure that all tests below are running with the system
88 // locale and not the "C" locale.
99 ONCE . call_once ( || unsafe {
10- libc:: setlocale ( libc:: LC_ALL , b" \0 ". as_ptr ( ) as * const _ ) ;
10+ libc:: setlocale ( libc:: LC_ALL , c" ". as_ptr ( ) as * const _ ) ;
1111 } ) ;
1212}
1313
You can’t perform that action at this time.
0 commit comments