Skip to content

Commit

Permalink
fix: added Debug for TranslationArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Jan 23, 2022
1 parent e5e416d commit 51422ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/perseus/src/translator/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ impl DummyTranslator {
/// A useless pseudo-map. This is a workaround until conditional compilation of expressions is supported, which will simplify this
/// system significantly.
#[doc(hidden)]
#[derive(Debug)]
pub struct TranslationArgs;
impl TranslationArgs {
/// Creates a new instance of this `struct`.
Expand Down
1 change: 1 addition & 0 deletions packages/perseus/src/translator/fluent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ impl FluentTranslator {
/// An alias for `FluentArgs`. This is a workaround until conditional compilation of expressions is supported, which will simplify this
/// system significantly.
#[doc(hidden)]
#[allow(missing_debug_implementations)]
pub type TranslationArgs<'args> = FluentArgs<'args>;

/// The internal Fluent backend for the `t!` macro.
Expand Down

0 comments on commit 51422ed

Please sign in to comment.