1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-07-12 00:36:15 +00: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
}