about summary refs log tree commit diff
path: root/src/tools/unicode-table-generator
diff options
context:
space:
mode:
authorMarkus Reiter <me@reitermark.us>2025-03-08 12:56:00 +0100
committerMarkus Reiter <me@reitermark.us>2025-03-08 12:56:00 +0100
commit3628a8f326d1f323832aeae742ab3bbd025e4166 (patch)
tree95f2c4b74abf6a7d2c00c7daf39c673641832363 /src/tools/unicode-table-generator
parent224dad154bd055bf3fb792ae51f9c6d91a927f9b (diff)
Remove unneeded parentheses.
Diffstat (limited to 'src/tools/unicode-table-generator')
-rw-r--r--src/tools/unicode-table-generator/src/skiplist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/unicode-table-generator/src/skiplist.rs b/src/tools/unicode-table-generator/src/skiplist.rs
index d3e5c9eded2..34c9802e122 100644
--- a/src/tools/unicode-table-generator/src/skiplist.rs
+++ b/src/tools/unicode-table-generator/src/skiplist.rs
@@ -111,7 +111,7 @@ impl RawEmitter {
         writeln!(&mut self.file, "    const {{").unwrap();
         writeln!(
             &mut self.file,
-            "        assert!(SHORT_OFFSET_RUNS.last().unwrap().0 > (char::MAX as u32));",
+            "        assert!(SHORT_OFFSET_RUNS.last().unwrap().0 > char::MAX as u32);",
         )
         .unwrap();
         writeln!(&mut self.file, "        let mut i = 0;").unwrap();