1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

httpresponse.rs doc fix (#534)

This commit is contained in:
lzx 2018-10-06 13:16:12 +08:00 committed by Douman
parent 1e1a4f846e
commit 7ae5a43877

View File

@ -272,7 +272,7 @@ impl HttpResponse {
self.get_mut().response_size = size;
}
/// Set write buffer capacity
/// Get write buffer capacity
pub fn write_buffer_capacity(&self) -> usize {
self.get_ref().write_capacity
}