We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd9fa4 commit 22ea08dCopy full SHA for 22ea08d
src/i18n.rs
@@ -85,7 +85,7 @@ pub struct LocalText<'a> {
85
86
impl<'a> LocalText<'a> {
87
/// Make a new localizable text placeholder for a Fluent key with no args
88
- pub fn new(key: &str) -> LocalText {
+ pub fn new(key: &str) -> LocalText<'_> {
89
LocalText {
90
key: String::from(key),
91
args: None,
src/lib.rs
@@ -1,6 +1,7 @@
1
#![doc = include_str!("../README.md")]
2
-#![allow(clippy::trivial_regex)]
3
#![allow(clippy::borrowed_box)]
+#![allow(clippy::doc_overindented_list_items)]
4
+#![allow(clippy::trivial_regex)]
5
6
#[macro_use]
7
extern crate lazy_static;
0 commit comments