From 32f2c61c9b0ff287b10c3df34c987b0d529be9cb Mon Sep 17 00:00:00 2001 From: Montana Low Date: Fri, 8 Dec 2023 19:30:20 -0800 Subject: [PATCH] trim warnings --- packages/pgml-components/src/lib.rs | 1 - pgml-dashboard/.gitignore | 1 + pgml-dashboard/src/components/navigation/tabs/tab/mod.rs | 2 +- pgml-dashboard/src/utils/markdown.rs | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pgml-components/src/lib.rs b/packages/pgml-components/src/lib.rs index 2f413df88..d6d7d1ddb 100644 --- a/packages/pgml-components/src/lib.rs +++ b/packages/pgml-components/src/lib.rs @@ -1,4 +1,3 @@ -#![allow(dead_code, unused_macros, unused_imports)] //! A basic UI component. Any other component can accept this //! as a parameter and render it. diff --git a/pgml-dashboard/.gitignore b/pgml-dashboard/.gitignore index 52b192eb1..549941757 100644 --- a/pgml-dashboard/.gitignore +++ b/pgml-dashboard/.gitignore @@ -3,3 +3,4 @@ search_index .DS_Store .DS_Store/ +node_modules diff --git a/pgml-dashboard/src/components/navigation/tabs/tab/mod.rs b/pgml-dashboard/src/components/navigation/tabs/tab/mod.rs index 10459124c..aca866859 100644 --- a/pgml-dashboard/src/components/navigation/tabs/tab/mod.rs +++ b/pgml-dashboard/src/components/navigation/tabs/tab/mod.rs @@ -1,4 +1,4 @@ -#![allow(unused_variables)] +#![allow(unused_variables)] // tab.active usage isn't seen inside sailfish templates use pgml_components::component; use pgml_components::Component; use sailfish::TemplateOnce; diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index c5be4fd49..b67412bfb 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -938,7 +938,7 @@ pub fn mkdocs<'a>(root: &'a AstNode<'a>, arena: &'a Arena>) -> anyho if text.ends_with(".md") { if let Some(parent) = node.parent() { match parent.data.borrow().value { - NodeValue::Link(ref link) => { + NodeValue::Link(ref _link) => { for _ in 0..".md".len() { text.pop(); } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy