Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit cdd6042

Browse files
Merge pull request #59 from EPashkin/clippy_warnings
Fix clippy warnings
2 parents 34c2468 + 042fd2a commit cdd6042

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

sourceview-sys/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// DO NOT EDIT
44

55
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
6+
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
67

78
extern crate libc;
89
extern crate glib_sys as glib;

sourceview-sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6e42588)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 9eab494)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 47c69e6)

src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// See the COPYRIGHT file at the top-level directory of this distribution.
33
// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
44

5+
#![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))]
6+
#![cfg_attr(feature = "cargo-clippy", allow(type_complexity))]
7+
58
#[macro_use]
69
extern crate glib;
710
extern crate glib_sys as glib_ffi;

0 commit comments

Comments
 (0)