Skip to content

Commit 1be78b9

Browse files
authored
Merge pull request #3212 from matthiaskrgr/clippy_dev_ed2018
clippy_dev: port to edition 2018
2 parents 417cf20 + f2ecee3 commit 1be78b9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clippy_dev/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
cargo-features = ["edition"]
2+
13
[package]
24
name = "clippy_dev"
35
version = "0.0.1"
46
authors = ["Philipp Hansch <dev@phansch.net>"]
7+
edition = "2018"
58

69
[dependencies]
710
clap = "~2.32"

clippy_dev/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#![feature(tool_lints)]
22
#![allow(clippy::default_hash_types)]
3-
extern crate regex;
4-
#[macro_use]
5-
extern crate lazy_static;
6-
extern crate itertools;
73

8-
use regex::Regex;
94
use itertools::Itertools;
5+
use lazy_static::lazy_static;
6+
use regex::Regex;
107
use std::collections::HashMap;
118
use std::ffi::OsStr;
129
use std::fs;

0 commit comments

Comments
 (0)