diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-10 23:11:52 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-10 23:11:52 +0200 |
commit | cf8fd948fc4bb6a9f48100ebf89df3752371805d (patch) | |
tree | 77fcb45f80ab75da2e5cdf520a50ab7192f9e25c /src/http_util.rs | |
parent | ff4fb9756810abeff17c360f3055c3865160b240 (diff) | |
download | garage-cf8fd948fc4bb6a9f48100ebf89df3752371805d.tar.gz garage-cf8fd948fc4bb6a9f48100ebf89df3752371805d.zip |
Add block ref table
Diffstat (limited to 'src/http_util.rs')
-rw-r--r-- | src/http_util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http_util.rs b/src/http_util.rs index 24e64c36..228448f0 100644 --- a/src/http_util.rs +++ b/src/http_util.rs @@ -15,7 +15,7 @@ pub struct StreamBody { impl StreamBody { pub fn new(stream: StreamType) -> Self { - Self{stream} + Self { stream } } } @@ -47,7 +47,7 @@ pub struct BytesBody { impl BytesBody { pub fn new(bytes: Bytes) -> Self { - Self{bytes: Some(bytes)} + Self { bytes: Some(bytes) } } } |