summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJonathan <jonathan@mullvad.net>2022-06-13 10:49:46 +0200
committerJonathan <jonathan@mullvad.net>2022-06-21 14:31:40 +0200
commitd3da8745c8ff9e66d6698d8a239b8139dbe8abfe (patch)
tree528a15026535b01bc3324892be783797aa64bbe4 /android
parentb6b80b9ffe6521a78ea6b2cdfd0e6965e67479fd (diff)
downloadmullvadvpn-d3da8745c8ff9e66d6698d8a239b8139dbe8abfe.tar.xz
mullvadvpn-d3da8745c8ff9e66d6698d8a239b8139dbe8abfe.zip
Fix the large majority of clippy warnings
This commit fixes most of the remaining clippy warnings in the codebase. These warnings were the more semantically difficult ones to fix. There are some warnings that remain from the rebase that will be fixed in the upcoming PR.
Diffstat (limited to 'android')
-rw-r--r--android/translations-converter/src/android/string_value.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/android/translations-converter/src/android/string_value.rs b/android/translations-converter/src/android/string_value.rs
index 04ad23653e..f11453d020 100644
--- a/android/translations-converter/src/android/string_value.rs
+++ b/android/translations-converter/src/android/string_value.rs
@@ -84,13 +84,6 @@ impl StringValue {
}
}
-impl StringValue {
- /// Clones the internal string value.
- pub fn to_string(&self) -> String {
- self.0.clone()
- }
-}
-
impl Deref for StringValue {
type Target = str;