From 7d3e6da3cba392e5c39fc37908bc0a635ca7c96d Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Sun, 20 Mar 2016 20:32:22 +0100 Subject: [PATCH] Fix typo in new_without_default docu --- src/new_without_default.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/new_without_default.rs b/src/new_without_default.rs index 461d1f5bebd9..ff5c09e39113 100644 --- a/src/new_without_default.rs +++ b/src/new_without_default.rs @@ -9,7 +9,7 @@ use utils::{get_trait_def_id, implements_trait, in_external_macro, return_ty, sa /// **What it does:** This lints about type with a `fn new() -> Self` method and no `Default` /// implementation. /// -/// **Why is this bad?** User might expect to be able to use `Default` is the type can be +/// **Why is this bad?** User might expect to be able to use `Default` as the type can be /// constructed without arguments. /// /// **Known problems:** Hopefully none.