Skip to content

Commit

Permalink
Rollup merge of rust-lang#132499 - RalfJung:unicode_data.rs, r=tgross35
Browse files Browse the repository at this point in the history
unicode_data.rs: show command for generating file

rust-lang#131647 made this an easily runnable tool, now we just have to mention that in the comment. :)

Fixes rust-lang#131640.
  • Loading branch information
workingjubilee authored Nov 3, 2024
2 parents 6f7074b + 720d618 commit 9787449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/core/src/unicode/unicode_data.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
///! This file is generated by src/tools/unicode-table-generator; do not edit manually!
///! This file is generated by `./x run src/tools/unicode-table-generator`; do not edit manually!

#[rustc_const_unstable(feature = "const_unicode_case_lookup", issue = "101400")]
#[inline(always)]
Expand Down
2 changes: 1 addition & 1 deletion src/tools/unicode-table-generator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ fn main() {
let mut table_file = String::new();

table_file.push_str(
"///! This file is generated by src/tools/unicode-table-generator; do not edit manually!\n",
"///! This file is generated by `./x run src/tools/unicode-table-generator`; do not edit manually!\n",
);

// Include the range search function
Expand Down

0 comments on commit 9787449

Please sign in to comment.