Skip to content

Commit c310e19

Browse files
authored
trim warnings (#1232)
1 parent f8a9c24 commit c310e19

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

packages/pgml-components/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(dead_code, unused_macros, unused_imports)]
21
//! A basic UI component. Any other component can accept this
32
//! as a parameter and render it.
43

pgml-dashboard/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
search_index
44
.DS_Store
55
.DS_Store/
6+
node_modules

pgml-dashboard/src/components/navigation/tabs/tab/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unused_variables)]
1+
#![allow(unused_variables)] // tab.active usage isn't seen inside sailfish templates
22
use pgml_components::component;
33
use pgml_components::Component;
44
use sailfish::TemplateOnce;

pgml-dashboard/src/utils/markdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ pub fn mkdocs<'a>(root: &'a AstNode<'a>, arena: &'a Arena<AstNode<'a>>) -> anyho
938938
if text.ends_with(".md") {
939939
if let Some(parent) = node.parent() {
940940
match parent.data.borrow().value {
941-
NodeValue::Link(ref link) => {
941+
NodeValue::Link(ref _link) => {
942942
for _ in 0..".md".len() {
943943
text.pop();
944944
}

0 commit comments

Comments
 (0)