Move extern crates to the root

This commit is contained in:
2026-08-08 22:12:28 -06:00
parent 4f46b6d993
commit 759f7249d8
5 changed files with 6 additions and 5 deletions
+1 -3
View File
@@ -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
View File
@@ -1,6 +1,5 @@
//! Lint groups.
extern crate alloc;
use alloc::collections::BTreeMap;
use lint_policy::Linter;
+2
View File
@@ -2,6 +2,8 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
extern crate alloc;
use anyhow::Result;
use clap::Parser as _;
use lint_policy::Linter;