diff options
author | Aleksey Kladov <[email protected]> | 2018-12-25 10:36:39 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-25 10:36:39 +0000 |
commit | 8d49c098a56098345aa7c42cefff0d425d44c05d (patch) | |
tree | 267cdf1dad05aee32c813dc5d4681a032f0990a4 /crates | |
parent | 64046253a3386962b49632edc6edf9f05272d404 (diff) |
cancelled is not Copy
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_db/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index 0aca6f343..78f2cbf12 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs | |||
@@ -8,7 +8,7 @@ use std::sync::Arc; | |||
8 | use ra_editor::LineIndex; | 8 | use ra_editor::LineIndex; |
9 | use ra_syntax::{TextUnit, SourceFileNode}; | 9 | use ra_syntax::{TextUnit, SourceFileNode}; |
10 | 10 | ||
11 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] | 11 | #[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] |
12 | pub struct Canceled; | 12 | pub struct Canceled; |
13 | 13 | ||
14 | pub type Cancelable<T> = Result<T, Canceled>; | 14 | pub type Cancelable<T> = Result<T, Canceled>; |