Merge pull request #77 from Smithay/fix/auto_id_clone

Add missing derives for AutoId
This commit is contained in:
Victor Brekenfeld 2018-02-27 12:37:49 +01:00 committed by GitHub
commit c6109f41ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ pub enum BoundAutoSession {
}
/// Id's used by the `AutoSessionNotifier` internally.
#[derive(PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub struct AutoId(AutoIdInternal);
#[derive(PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
enum AutoIdInternal {
#[cfg(feature = "backend_session_logind")]
Logind(logind::Id),