cleanup
This commit is contained in:
parent
ce79cf14ba
commit
6d32beedcc
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
#![forbid(unsafe_code)]
|
||||
#![warn(trivial_casts, unused_lifetimes, unused_qualifications)]
|
||||
|
||||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
@ -33,10 +32,10 @@ cfg_if! {
|
|||
|
||||
cfg_if! {
|
||||
if #[cfg(any(all(unix, feature = "infer-backend"), all(not(unix), not(feature = "xdg-mime-backend"))))] {
|
||||
/// A [Lazy] holding an instance of [mime_db::MimeDb].
|
||||
/// A [`Lazy`] holding an instance of [`mime_db::MimeDb`].
|
||||
pub static MIMEDB: Lazy<mime_db::InferDb> = Lazy::new(crate::mime_db::InferDb::init);
|
||||
} else {
|
||||
/// A [Lazy] holding an instance of [mime_db::MimeDb].
|
||||
/// A [`Lazy`] holding an instance of [`mime_db::MimeDb`].
|
||||
pub static MIMEDB: Lazy<mime_db::XdgDb> = Lazy::new(crate::mime_db::XdgDb::init);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue