Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion i18n-embed/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! runtime. Works in unison with
//! [cargo-i18n](https://crates.io/crates/cargo_i18n).
//!
//! This library recommends tha you make use of
//! This library recommends that you make use of
//! [rust-embed](https://crates.io/crates/rust-embed) to perform the
//! actual embedding of the language files, unfortunately using this
//! currently requires you to manually add it as a dependency to your
Expand Down Expand Up @@ -546,7 +546,7 @@
fn i18n_assets(&self) -> &'_ dyn I18nAssets {
self.i18n_assets
}
fn language_loader(&self) -> &'_ dyn LanguageLoader {

Check warning on line 549 in i18n-embed/src/lib.rs

View workflow job for this annotation

GitHub Actions / Clippy

warning: the following explicit lifetimes could be elided: 'a --> i18n-embed/src/lib.rs:549:6 | 549 | impl<'a> Localizer for DefaultLocalizer<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 549 - impl<'a> Localizer for DefaultLocalizer<'a> { 549 + impl Localizer for DefaultLocalizer<'_> { |
self.language_loader
}
}
Expand Down
Loading