diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-04-02 13:15:05 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2024-04-03 11:45:33 +0200 |
| commit | 7ca7ceb94d8b6c072b559eee37e856d1e6f87a99 (patch) | |
| tree | 1dfa2ef4a43de4e05685ca2ee53f1c8ecdf5d129 /android | |
| parent | a9acdbb0e457878e324a04397ab9113eed118b1d (diff) | |
| download | mullvadvpn-7ca7ceb94d8b6c072b559eee37e856d1e6f87a99.tar.xz mullvadvpn-7ca7ceb94d8b6c072b559eee37e856d1e6f87a99.zip | |
Enable single-use-lifetimes rustc lint
Removes superfluous lifetime definitions. Simplifying the code
Diffstat (limited to 'android')
| -rw-r--r-- | android/translations-converter/src/gettext/msg_string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/translations-converter/src/gettext/msg_string.rs b/android/translations-converter/src/gettext/msg_string.rs index d7925136e0..a0f2ee5f67 100644 --- a/android/translations-converter/src/gettext/msg_string.rs +++ b/android/translations-converter/src/gettext/msg_string.rs @@ -78,7 +78,7 @@ where } } -impl<'l, 'r> Add<&'r MsgString> for &'l MsgString { +impl<'r> Add<&'r MsgString> for &MsgString { type Output = MsgString; fn add(self, other: &'r MsgString) -> Self::Output { |
