aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-25 10:36:39 +0000
committerAleksey Kladov <[email protected]>2018-12-25 10:36:39 +0000
commit8d49c098a56098345aa7c42cefff0d425d44c05d (patch)
tree267cdf1dad05aee32c813dc5d4681a032f0990a4 /crates
parent64046253a3386962b49632edc6edf9f05272d404 (diff)
cancelled is not Copy
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_db/src/lib.rs2
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;
8use ra_editor::LineIndex; 8use ra_editor::LineIndex;
9use ra_syntax::{TextUnit, SourceFileNode}; 9use 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)]
12pub struct Canceled; 12pub struct Canceled;
13 13
14pub type Cancelable<T> = Result<T, Canceled>; 14pub type Cancelable<T> = Result<T, Canceled>;