From 6d32beedcc8769e1bfb29dd60296a43c64cbb09c Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Wed, 6 Oct 2021 00:26:04 +1000 Subject: [PATCH] cleanup --- src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5f0d769..84c187e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 = 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 = Lazy::new(crate::mime_db::XdgDb::init); } }