Fix comments
This commit is contained in:
parent
d519ecab2e
commit
d9923fd762
3 changed files with 8 additions and 8 deletions
|
|
@ -75,7 +75,7 @@ fn main() {
|
|||
let path = entry.path();
|
||||
match fs::read(path) {
|
||||
Ok(raw_bytes) => {
|
||||
// Auto‑detect encoding for old Unreal script sources
|
||||
// Auto-detect encoding for old Unreal script sources
|
||||
let (encoding_label, _, _) = chardet::detect(&raw_bytes);
|
||||
let encoding = encoding_rs::Encoding::for_label(encoding_label.as_bytes())
|
||||
.unwrap_or(encoding_rs::UTF_8);
|
||||
|
|
@ -109,7 +109,7 @@ fn main() {
|
|||
elapsed_time
|
||||
);
|
||||
|
||||
// Round‑trip check
|
||||
// Round-trip check
|
||||
for ((path, original), (_, tokenized_file)) in uc_files.iter().zip(tokenized_files.iter()) {
|
||||
let reconstructed = tokenized_file.reconstruct_source();
|
||||
if original != &reconstructed {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue