Ignore unused variable for non-linux builds

This commit is contained in:
André Luis Leal Cardoso Junior 2019-07-05 11:57:33 -03:00
parent f0e45bfe81
commit 43cb7d08e4

View File

@ -108,7 +108,7 @@ pub fn linkcheck(args: &ArgMatches<'_>) -> Result<(), Error> {
}
#[cfg(not(all(target_arch = "x86_64", target_os = "linux")))]
pub fn linkcheck(args: &ArgMatches<'_>) -> Result<(), Error> {
pub fn linkcheck(_args: &ArgMatches<'_>) -> Result<(), Error> {
bail!("mdbook-linkcheck only works on x86_64 linux targets.");
}