Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Updated for Rust 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed May 15, 2015
1 parent 4b993f0 commit c31c1c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "grust"
version = "0.1.2"
version = "0.1.3-dev"
authors = ["Mikhail Zabaluev <[email protected]>"]
license = "LGPL-2.1+"
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use util::escape_bytestring;
use glib as ffi;
use gobject;

use std::any::Any;
use std::error::Error as ErrorTrait;
use std::ffi::CStr;
use std::fmt;
Expand All @@ -49,7 +50,7 @@ pub enum Code<T> {
Unknown(gint)
}

pub trait Domain : IntrospectedEnum {
pub trait Domain : IntrospectedEnum + Any {
fn domain() -> Quark;
}

Expand Down

0 comments on commit c31c1c1

Please sign in to comment.