From b36a32f095d6faf084aeb9345daca90cd55c7bf6 Mon Sep 17 00:00:00 2001 From: Todd Resudek Date: Thu, 15 Aug 2019 21:50:25 -0600 Subject: [PATCH] Fixes type introduced in https://github.com/rrrene/credo/pull/673 --- lib/credo/check/readability/parentheses_on_zero_arity_defs.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/credo/check/readability/parentheses_on_zero_arity_defs.ex b/lib/credo/check/readability/parentheses_on_zero_arity_defs.ex index fa95fbb76..40b6863eb 100644 --- a/lib/credo/check/readability/parentheses_on_zero_arity_defs.ex +++ b/lib/credo/check/readability/parentheses_on_zero_arity_defs.ex @@ -2,7 +2,7 @@ defmodule Credo.Check.Readability.ParenthesesOnZeroArityDefs do @moduledoc false @checkdoc """ - Either use parentheses or not when defininig a function with no arguments. + Either use parentheses or not when defining a function with no arguments. By default, this check enforces no parentheses, so zero-arity function and macro definitions should look like this: