Fix needless_borrow lint
This change fixes a lint introduced with the Rust 1.54.0 release. The
lint warns of borrowing an already borrowed value.
See
for more detail.
@@ -117,7 +117,7 @@ fn main() -> Result<(), BuildError> {
if markdown.ends_with(".md") {
match Command::new("pandoc")
- .args(&["--standalone", "--to", "man", &markdown, "-o", &manpage])
+ .args(&["--standalone", "--to", "man", markdown, "-o", manpage])
.status()
{
Ok(status) => {
