Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jan 4, 2023
1 parent 4ba0dc6 commit 06fe5ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ rust_i18n::i18n!("locales");

fn main() {
println!("{}", t!("hello"));

// Use `available_locales` method to get all available locales.
println!("{:?}", available_locales());
}
```

Expand Down

0 comments on commit 06fe5ea

Please sign in to comment.