diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-06-17 09:19:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-17 09:19:30 +0000 |
commit | 5ba34d4f9766a55a06ed5e3e44cc384af1b09f65 (patch) | |
tree | 11965fbe66f5d25ea00be1a02e74b724c4071d3c /src/locale.rs | |
parent | 0f700a01bd73623cdfc0afc4a54f9e82f46d8f49 (diff) | |
download | alacritty-5ba34d4f9766a55a06ed5e3e44cc384af1b09f65.tar.gz alacritty-5ba34d4f9766a55a06ed5e3e44cc384af1b09f65.zip |
Move to cargo clippy
Using clippy as a library has been deprecated, instead the `cargo
clippy` command should be used instead. To comply with this change
clippy has been removed from the `Cargo.toml` and is now installed with
cargo when building in CI.
This has also lead to a few new clippy issues to show up, this includes
everything in the `font` subdirectory. This has been fixed and `font`
should now be covered by clippy CI too.
This also upgrades all dependencies, as a result this fixes #1341 and
this fixes #1344.
Diffstat (limited to 'src/locale.rs')
-rw-r--r-- | src/locale.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale.rs b/src/locale.rs index 9fcd2db2..bea68cad 100644 --- a/src/locale.rs +++ b/src/locale.rs @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +#![cfg_attr(feature = "cargo-clippy", allow(let_unit_value))] #![cfg(target_os = "macos")] use libc::{LC_CTYPE, setlocale}; use std::ffi::{CString, CStr}; |