Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 745bc2a46954e1c8079028f36b03498cfc7c274e..367c2b460a392f701015b69b765f45e46e395092 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -589,7 +589,7 @@ class ErrorUtils : public AllStatic { |
T(PushPastSafeLength, \ |
"Pushing % elements on an array-like of length % " \ |
"is disallowed, as the total surpasses 2**53-1") \ |
- T(ElementAfterRest, "Rest element must be last element in array") \ |
+ T(ElementAfterRest, "Rest element must be last element") \ |
T(BadSetterRestParameter, \ |
"Setter function argument must not be a rest parameter") \ |
T(ParamDupe, "Duplicate parameter name not allowed in this context") \ |