Skip to content

Commit

Permalink
Update src/cargo/util/toml/embedded.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Schafer <[email protected]>
  • Loading branch information
epage and Muscraft authored Jan 3, 2024
1 parent 5c71631 commit ceae270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/util/toml/embedded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ fn split_source(input: &str) -> CargoResult<Source<'_>> {
// Attribute
return Ok(source);
}
anyhow::bail!("found {tick_end} backticks in rust frontmatter, expected at least 3")
anyhow::bail!("found {tick_end} `{tick_char}` in rust frontmatter, expected at least 3")
}
_ => source.content.split_at(tick_end),
};
Expand Down

0 comments on commit ceae270

Please sign in to comment.