summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/src/collaboration/file.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/src/collaboration/file.rs b/rust/src/collaboration/file.rs
index 46e27ea5..dbe2b8b9 100644
--- a/rust/src/collaboration/file.rs
+++ b/rust/src/collaboration/file.rs
@@ -584,6 +584,7 @@ impl PartialEq for RemoteFile {
self.id() == other.id()
}
}
+
impl Eq for RemoteFile {}
impl ToOwned for RemoteFile {
@@ -594,6 +595,9 @@ impl ToOwned for RemoteFile {
}
}
+unsafe impl Send for RemoteFile {}
+unsafe impl Sync for RemoteFile {}
+
unsafe impl RefCountable for RemoteFile {
unsafe fn inc_ref(handle: &Self) -> Ref<Self> {
Ref::new(Self {