Skip to content

Commit 42029f3

Browse files
committed
lint
1 parent c534ec5 commit 42029f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/html/render_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ mod test {
387387
assert_eq!(render_ctx.lookup_symbol_href("foo").unwrap(), "b/foo");
388388

389389
let render_ctx =
390-
RenderContext::new(&ctx, doc_nodes, UrlResolveKind::File(&short_path));
390+
RenderContext::new(&ctx, doc_nodes, UrlResolveKind::File(short_path));
391391
assert_eq!(render_ctx.lookup_symbol_href("foo").unwrap(), "b/foo");
392392
}
393393
}

tests/html_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async fn symbol_group() {
289289
} => {
290290
let root = ctx.href_resolver.resolve_path(
291291
UrlResolveKind::Symbol {
292-
file: &short_path,
292+
file: short_path,
293293
symbol: &symbol_group_ctx.name,
294294
},
295295
UrlResolveKind::Root,

0 commit comments

Comments
 (0)