XAMPPRocky / fluent-templates

Easily add Fluent to your Rust project.
Apache License 2.0
136 stars 28 forks source link

Loader::lookup/lookup_complete/lookup_with_args return Option<String> #33

Closed jamolnng closed 2 years ago

jamolnng commented 2 years ago

Loader::lookup/lookup_complete/lookup_with_args now return Option\<String> so the user can control what happens when a lookup returns nothing.

Ref: https://github.com/XAMPPRocky/fluent-templates/issues/32

XAMPPRocky commented 2 years ago

Thank you for your PR, and congrats on your first contribution! 🎉