Skip to content

Commit

Permalink
webdriver: Merge pull request #14 from andreastt/derive_debug
Browse files Browse the repository at this point in the history
Derive Debug trait for WebElement and FrameId

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 8300b62283f87b0dfd0158fff4c8bb60d0b8c193

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 8f60e3c9f9ef8bb1f44257cfd84749df16397841
  • Loading branch information
andreastt committed Jan 18, 2016
1 parent 4634404 commit 5f868a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing/webdriver/src/common.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use rustc_serialize::json::{Json, ToJson};
use rustc_serialize::{Encodable, Encoder};
use rustc_serialize::json::{Json, ToJson};
use std::collections::BTreeMap;
use std::error::Error;

Expand Down Expand Up @@ -74,7 +74,7 @@ impl<T: ToJson> Encodable for Nullable<T> {
}
}

#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
pub struct WebElement {
pub id: String
}
Expand Down Expand Up @@ -110,7 +110,7 @@ impl ToJson for WebElement {
}
}

#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
pub enum FrameId {
Short(u16),
Element(WebElement),
Expand Down

0 comments on commit 5f868a4

Please sign in to comment.