From 3eb6195dfada543162c3f29c5af3da362b6e9749 Mon Sep 17 00:00:00 2001 From: Erran Carey Date: Wed, 19 Nov 2014 16:36:47 -0600 Subject: [PATCH 1/2] Update the param mutation anchor --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f41854f3..3add2d850 100644 --- a/README.md +++ b/README.md @@ -3414,7 +3414,7 @@ condition](#safe-assignment-in-condition). * Do not mutate arguments unless that is the purpose of the method. -[[link](#no-arg-mutations)] +[[link](#no-param-mutations)] * Avoid more than three levels of block nesting. From de55eb4db2a36bebb87f3e7b8e276da52ffc5fcb Mon Sep 17 00:00:00 2001 From: Erran Carey Date: Wed, 19 Nov 2014 17:43:37 -0600 Subject: [PATCH 2/2] Use "parameters" in the no-param-mutations rule --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3add2d850..b23645617 100644 --- a/README.md +++ b/README.md @@ -3413,7 +3413,7 @@ condition](#safe-assignment-in-condition). [[link](#functional-code)] * - Do not mutate arguments unless that is the purpose of the method. + Do not mutate parameters unless that is the purpose of the method. [[link](#no-param-mutations)] *