Prefix unused arguments with underscore to prevent warnings

This commit is contained in:
Michal Mieczkowski 2019-07-03 20:31:20 +02:00
parent 775ff3b623
commit 7fb2bbed00
2 changed files with 2 additions and 2 deletions

View file

@ -359,7 +359,7 @@ impl HostTrait for HostCallbacks {
None
}
fn set_clipboard_contents(&self, contents: String) {}
fn set_clipboard_contents(&self, _contents: String) {}
}
pub struct ServoInstance {

View file

@ -462,7 +462,7 @@ impl HostTrait for HostCallbacks {
None
}
fn set_clipboard_contents(&self, contents: String) {}
fn set_clipboard_contents(&self, _contents: String) {}
}
fn initialize_android_glue(env: &JNIEnv, activity: JObject) {