summaryrefslogtreecommitdiff
path: root/rust/src/collaboration
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/collaboration')
-rw-r--r--rust/src/collaboration/remote.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/collaboration/remote.rs b/rust/src/collaboration/remote.rs
index 21f148e9..c1250403 100644
--- a/rust/src/collaboration/remote.rs
+++ b/rust/src/collaboration/remote.rs
@@ -192,7 +192,7 @@ impl Remote {
/// Connects to the Remote, loading metadata and optionally acquiring a token.
///
/// Use [Remote::connect_with_opts] if you cannot otherwise automatically connect using enterprise.
- ///
+ ///
/// WARNING: This is currently **not** thread safe, if you try and connect/disconnect to a remote on
/// multiple threads you will be subject to race conditions. To avoid this wrap the [`Remote`] in
/// a synchronization primitive, and pass that to your threads. Or don't try and connect on multiple threads.
@@ -238,7 +238,7 @@ impl Remote {
}
/// Disconnects from the remote.
- ///
+ ///
/// WARNING: This is currently **not** thread safe, if you try and connect/disconnect to a remote on
/// multiple threads you will be subject to race conditions. To avoid this wrap the [`Remote`] in
/// a synchronization primitive, and pass that to your threads. Or don't try and connect on multiple threads.