You've already forked lint-policy
Move extern crates to the root
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
//! Diffing lint.
|
||||
|
||||
use core::cmp::Ordering;
|
||||
|
||||
extern crate alloc;
|
||||
use alloc::collections::BTreeSet;
|
||||
use core::cmp::Ordering;
|
||||
|
||||
use lint_policy::cargo::{LintSetting, LintTable};
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
//! Lint groups.
|
||||
|
||||
extern crate alloc;
|
||||
use alloc::collections::BTreeMap;
|
||||
|
||||
use lint_policy::Linter;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::Parser as _;
|
||||
use lint_policy::Linter;
|
||||
|
||||
Reference in New Issue
Block a user