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 1
1
// Take a look at the license at the top of the repository in the LICENSE file.
2
2
3
+ #![ allow( clippy:: manual_c_str_literals) ]
3
4
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
4
5
#![ doc = include_str ! ( "../README.md" ) ]
5
6
@@ -8,7 +9,6 @@ pub use gio;
8
9
pub use glib;
9
10
10
11
#[ allow( clippy:: too_many_arguments) ]
11
- #[ allow( clippy:: manual_c_str_literals) ]
12
12
mod auto;
13
13
14
14
pub mod subclass;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pub struct BindingGroupBuilder<'a> {
34
34
transform_from : TransformFn ,
35
35
}
36
36
37
- impl < ' a > fmt:: Debug for BindingGroupBuilder < ' a > {
37
+ impl fmt:: Debug for BindingGroupBuilder < ' _ > {
38
38
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
39
39
f. debug_struct ( "BindingGroupBuilder" )
40
40
. field ( "group" , & self . group )
Original file line number Diff line number Diff line change 2
2
3
3
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
4
4
#![ allow( clippy:: missing_safety_doc) ]
5
+ #![ allow( clippy:: manual_c_str_literals) ]
5
6
#![ allow( renamed_and_removed_lints) ]
6
7
// Override docs references to point to locally generated docs
7
8
// rustdoc-stripper-ignore-next
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ fn init() {
7
7
// Make sure that all tests below are running with the system
8
8
// locale and not the "C" locale.
9
9
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 _ ) ;
11
11
} ) ;
12
12
}
13
13
You can’t perform that action at this time.
0 commit comments