about summary refs log tree commit diff
path: root/src/tools/rustbook
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2019-07-05 11:57:33 -0300
committerAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2019-07-06 11:05:22 -0300
commit43cb7d08e4ec732862fa39ff1d1555cdaa54ae3c (patch)
tree9f20fc9dff582fd60778a3187dc4f39dedba9097 /src/tools/rustbook
parentf0e45bfe810fde06625ef71bd9bb3b51e3ebd745 (diff)
downloadrust-43cb7d08e4ec732862fa39ff1d1555cdaa54ae3c.tar.gz
rust-43cb7d08e4ec732862fa39ff1d1555cdaa54ae3c.zip
Ignore unused variable for non-linux builds
Diffstat (limited to 'src/tools/rustbook')
-rw-r--r--src/tools/rustbook/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustbook/src/main.rs b/src/tools/rustbook/src/main.rs
index a9f8167c5ac..d9b16780107 100644
--- a/src/tools/rustbook/src/main.rs
+++ b/src/tools/rustbook/src/main.rs
@@ -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.");
 }