Skip to content

Commit

Permalink
refactor(examples): Debug-print strings in basic example
Browse files Browse the repository at this point in the history
  • Loading branch information
JadedBlueEyes committed Jul 8, 2024
1 parent a35a618 commit 202e721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"conventionalCommits.scopes": [
"mf1-parser"
"mf1-parser",
"examples"
]
}
1 change: 1 addition & 0 deletions examples/basic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ fn main() {
.get(1)
.map(|l| Locale::from_str(l).unwrap())
.unwrap_or_default();
dbg!(l.get_strings());
println!("{}", t!(l, message));
println!("{}", t!(l, message_2));
}

0 comments on commit 202e721

Please sign in to comment.