cancelled is not Copy

This commit is contained in:
Aleksey Kladov 2018-12-25 13:36:39 +03:00
parent 64046253a3
commit 8d49c098a5

View file

@ -8,7 +8,7 @@ use std::sync::Arc;
use ra_editor::LineIndex; use ra_editor::LineIndex;
use ra_syntax::{TextUnit, SourceFileNode}; use ra_syntax::{TextUnit, SourceFileNode};
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] #[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct Canceled; pub struct Canceled;
pub type Cancelable<T> = Result<T, Canceled>; pub type Cancelable<T> = Result<T, Canceled>;