Skip to content

Commit 97c9306

Browse files
authored
Fix warnings (#1180)
1 parent 3f44d2e commit 97c9306

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

pgml-dashboard/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pgml-dashboard/src/components/navigation/navbar/marketing/template.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
StaticNavLink::new("Contact".to_string(), "/contact".to_string()).icon("alternate_email")
1717
];
1818

19-
struct mobile_navs {
19+
struct MobileNavs {
2020
collapse: String,
2121
links: Vec<StaticNavLink>
2222
}
2323

2424
let mobile_nav_items = vec![
25-
mobile_navs {
25+
MobileNavs {
2626
collapse: "solutions-collapse".to_string(),
2727
links: solutions_links.clone()
2828
},
29-
mobile_navs {
29+
MobileNavs {
3030
collapse: "company-collapse".to_string(),
3131
links: company_links.clone()
3232
}

pgml-dashboard/src/components/sections/footers/marketing_footer/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::components::static_nav_link::StaticNavLink;
22
use pgml_components::component;
3-
use pgml_components::Component;
43
use sailfish::TemplateOnce;
54

65
#[derive(TemplateOnce, Default)]

pgml-dashboard/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pub mod types;
2121
pub mod utils;
2222

2323
use guards::{Cluster, ConnectedCluster};
24-
use pgml_components::Component;
2524
use responses::{BadRequest, Error, ResponseOk};
2625
use templates::{
2726
components::{NavLink, StaticNav},

0 commit comments

Comments
 (0)
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