Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Nov 16, 2023
1 parent 0406b60 commit 14d8c13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions experimental/transliterate/tests/cldr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ include!("data/baked/mod.rs");

#[test]
fn test_all_cldr() {
let mut in_order =
std::fs::read_dir("./tests/data/fixtures")
.unwrap()
.map(|x| x.unwrap().path())
.collect::<Vec<_>>();
let mut in_order = std::fs::read_dir("./tests/data/fixtures")
.unwrap()
.map(|x| x.unwrap().path())
.collect::<Vec<_>>();
in_order.sort();
for path in in_order {
if path.ends_with("_readme.txt") {
Expand Down
2 changes: 1 addition & 1 deletion utils/resb/examples/time_zone_rule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ pub struct ZoneInfo64<'a> {
fn main() {
let in_bytes = include_bytes!("./data/zoneinfo64.res");

let out = resb::binary::from_bytes::<ZoneInfo64>(&*in_bytes)
let out = resb::binary::from_bytes::<ZoneInfo64>(&in_bytes)
.expect("Error processing resource bundle file");

println!("{:#?}", out);
Expand Down

0 comments on commit 14d8c13

Please sign in to comment.