summaryrefslogtreecommitdiff
path: root/src/proto.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2021-12-24 04:36:58 -0600
committerAlejandro Soto <alejandro@34project.org>2021-12-24 04:36:58 -0600
commit5afc15edaa593bdf7dd2ae7c542980d9d70b8321 (patch)
tree272886fe55b5ee2ca4b22415621b56aae718eaf0 /src/proto.rs
parent7f3c0f5b69e76de03417c84d3d217c0bf866e5ec (diff)
Migrate to 2021 edition
Diffstat (limited to 'src/proto.rs')
-rw-r--r--src/proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto.rs b/src/proto.rs
index c6b9925..9816922 100644
--- a/src/proto.rs
+++ b/src/proto.rs
@@ -655,7 +655,7 @@ impl Request<'_> {
self.header
}
- pub fn body(&self) -> &RequestBody {
+ pub fn body(&self) -> &RequestBody<'_> {
&self.body
}
}