aboutsummaryrefslogtreecommitdiff
path: root/src/endpoint.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-22 13:44:48 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-22 13:44:48 +0200
commitaa1b29d41a680f9ae266ed4bdecec89db58226c1 (patch)
tree58e2fc9eae1b7c32d337a347c964c279af127795 /src/endpoint.rs
parent67ea3a48fa1c9c462f1c4912c9658ad002d3336d (diff)
downloadnetapp-aa1b29d41a680f9ae266ed4bdecec89db58226c1.tar.gz
netapp-aa1b29d41a680f9ae266ed4bdecec89db58226c1.zip
Terminology: don't use the word "body" anymore, talk of "attached stream"
Diffstat (limited to 'src/endpoint.rs')
-rw-r--r--src/endpoint.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/endpoint.rs b/src/endpoint.rs
index 588f7e3..a402fec 100644
--- a/src/endpoint.rs
+++ b/src/endpoint.rs
@@ -110,8 +110,8 @@ where
/// Call this endpoint on a remote node (or on the local node,
/// for that matter). This function invokes the full version that
- /// allows to attach a streaming body to the request and to
- /// receive such a body attached to the response.
+ /// allows to attach a stream to the request and to
+ /// receive such a stream attached to the response.
pub async fn call_streaming<T>(
&self,
target: &NodeID,