Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed May 10, 2024
1 parent e16dee5 commit 13e245c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipelines/rust/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl RustAppOutput {
match self.id {
Some(id) => dom.replace_with_html(&trunk_id_selector(id), &script)?,
None => {
if dom.len(&body)? == 0 {
if dom.len(body)? == 0 {
bail!(
r#"Document has neither a <link data-trunk rel="rust"/> nor a <body>. Either one must be present."#
);
Expand Down

0 comments on commit 13e245c

Please sign in to comment.