From 9a42f0644a74e3846899e3fa9a8044792f8fed83 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Thu, 22 Sep 2022 22:09:54 +0800
Subject: [PATCH] Improve Send+Sync comment

---
 sshproto/src/behaviour.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sshproto/src/behaviour.rs b/sshproto/src/behaviour.rs
index 19d48d2..2b1cdab 100644
--- a/sshproto/src/behaviour.rs
+++ b/sshproto/src/behaviour.rs
@@ -96,7 +96,7 @@ impl<'a> Behaviour<'a> {
     }
 }
 
-// `Sync+Send` here is to allow for future changes to make async.
+/// `Sync+Send` bound is to allow for future changes to make async.
 pub trait CliBehaviour: Sync+Send {
     /// Provide the user to use for authentication. Will only be called once
     /// per session.
@@ -154,6 +154,7 @@ pub trait CliBehaviour: Sync+Send {
     }
 }
 
+/// `Sync+Send` bound is to allow for future changes to make async.
 pub trait ServBehaviour: Sync+Send {
     // TODO: load keys on demand?
     // at present `async` isn't very useful here, since it can't load keys
-- 
GitLab