summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channel.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channel.rs b/src/channel.rs
index 00f8702..740ca71 100644
--- a/src/channel.rs
+++ b/src/channel.rs
@@ -288,7 +288,8 @@ impl<'sess> Channel<'sess> {
}
/// Artificially limit the number of bytes that will be read from this
- /// channel.
+ /// channel. Hack intended for use by scp_recv only.
+ #[doc(hidden)]
pub fn limit_read(&mut self, limit: u64) {
self.read_limit = Some(limit);
}