From dafcd821f5b3e44a8585884ee4c4bbbdc46b1c70 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Tue, 26 Sep 2017 00:05:23 +0200 Subject: Fix some messages in the tidy script It's MutJS, not MutJS>. --- python/tidy/servo_tidy/tidy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/tidy/servo_tidy/tidy.py') diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index e88f4dc1458..74c9bf7b36f 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -576,9 +576,9 @@ def check_rust(file_name, lines): # There should be any use of banned types: # Cell, Cell>, DOMRefCell>, DOMRefCell> (r"(\s|:)+Cell", "Banned type Cell detected. Use MutJS instead", no_filter), - (r"(\s|:)+Cell>", "Banned type Cell> detected. Use MutJS> instead", no_filter), - (r"DOMRefCell>", "Banned type DOMRefCell> detected. Use MutJS> instead", no_filter), - (r"DOMRefCell>", "Banned type DOMRefCell> detected. Use MutJS> instead", no_filter), + (r"(\s|:)+Cell>", "Banned type Cell> detected. Use MutJS instead", no_filter), + (r"DOMRefCell>", "Banned type DOMRefCell> detected. Use MutJS instead", no_filter), + (r"DOMRefCell>", "Banned type DOMRefCell> detected. Use MutJS instead", no_filter), # No benefit to using &Root (r": &Root<", "use &T instead of &Root", no_filter), (r"^&&", "operators should go at the end of the first line", no_filter), -- cgit v1.2.3