Skip to content

Commit 4214be7

Browse files
fix build
1 parent dedd8db commit 4214be7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/app/commerce/server/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ anyhow = { workspace = true }
1616
clap = { workspace = true }
1717
mime_guess = { workspace = true }
1818
thiserror = { workspace = true }
19-
webui = { path = "..\\..\\..\\..\\crates\\webui" }
20-
webui-handler = { path = "..\\..\\..\\..\\crates\\webui-handler" }
19+
webui = { path = "../../../../crates/webui" }
20+
webui-handler = { path = "../../../../crates/webui-handler" }

examples/app/commerce/server/src/state/catalog_pages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn active_category_title<'a>(context: &'a ShellContext<'_>, category: &'a str) -
146146
.map_or(category, |item| item.title.as_str())
147147
}
148148

149-
fn default_sort<'a>(requested_sort: Option<&'a str>) -> &'a str {
149+
fn default_sort(requested_sort: Option<&str>) -> &str {
150150
match requested_sort {
151151
Some(sort) if !sort.is_empty() => sort,
152152
_ => "relevance",

0 commit comments

Comments
 (0)