From ae8a0207668438f7d6b63b48a9327248b8fe4b6f Mon Sep 17 00:00:00 2001 From: llogiq Date: Mon, 23 Jan 2017 20:06:21 +0100 Subject: [PATCH] add links to deny(warnings) antipattern, fix typo (#52) --- README.md | 2 +- anti_patterns/deny-warnings.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index afb40cf..95c91f1 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ language. * TODO wildcard matches * TODO taking an enum rather than having multiple functions * TODO `unwrap()`ing every `Result` instead of forwarding it - +* [`#[deny(warnings)]`](anti_patterns/deny-warnings.md) ## Contributing diff --git a/anti_patterns/deny-warnings.md b/anti_patterns/deny-warnings.md index bcdaa95..94d2216 100644 --- a/anti_patterns/deny-warnings.md +++ b/anti_patterns/deny-warnings.md @@ -45,7 +45,7 @@ explicitly. The following command line will build with all warnings set to `deny`: -```RUSTFLAGS="-D warnings" cargo build"``` +```RUSTFLAGS="-D warnings" cargo build``` This can be done by any individual developer (or be set in a CI tool like Travis, but remember that this may break the build when something changes)