Updated for explicit Copy implementations.

This commit is contained in:
Aaron Weiss 2014-12-13 03:24:41 -05:00
parent be42e98598
commit e070639ffe
2 changed files with 4 additions and 0 deletions

View file

@ -306,6 +306,8 @@ impl Response {
}
}
impl Copy for Response {}
impl FromStr for Response {
fn from_str(s: &str) -> Option<Response> {
if let Some(respcode) = from_str(s) {

View file

@ -123,6 +123,8 @@ pub enum AccessLevel {
Member,
}
impl Copy for AccessLevel {}
impl PartialOrd for AccessLevel {
fn partial_cmp(&self, other: &AccessLevel) -> Option<Ordering> {
if self == other { return Some(Equal) }