Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mozilla/geckodriver.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Tolfsen <ato@mozilla.com>2017-04-12 17:08:06 +0300
committerAndreas Tolfsen <ato@mozilla.com>2017-04-12 17:08:06 +0300
commit871a7065b88eb06725d0dd8490cd0caefae857cc (patch)
tree56e334552e0cd3660d1496e5eb24ea70d9d29693
parent7c577c04176c1cc7b5bd45928b3a36bd1818c5ae (diff)
marionette: convert str to owned string
Fixes build.
-rw-r--r--src/marionette.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/marionette.rs b/src/marionette.rs
index b9aef24..9740cec 100644
--- a/src/marionette.rs
+++ b/src/marionette.rs
@@ -316,7 +316,7 @@ impl MarionetteHandler {
e.description().to_owned())));
// double-dashed flags are not accepted on Windows systems
- runner.args().push("-marionette");
+ runner.args().push("-marionette".to_owned());
if let Some(args) = options.args.take() {
runner.args().extend(args);