Add PartialEq to Data struct (#19)

pull/1/head
Paul Woolcock 8 年前 提交者 Aaron Power
父节点 b445197381
当前提交 dfe317f329
  1. 2
      src/lib.rs

@ -226,7 +226,7 @@ pub struct Mastodon {
/// Raw data about mastodon app. Save `Data` using `serde` to prevent needing
/// to authenticate on every run.
#[derive(Clone, Debug, Deserialize, Serialize)]
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub struct Data {
/// Base url of instance eg. `https://mastodon.social`.
pub base: Cow<'static, str>,

正在加载...
取消
保存