Skip to content

Commit d98dcd3

Browse files
tottotoseanmonstar
authored andcommitted
chore(proto): remove unnecessary lazy evaluation
1 parent 2f43875 commit d98dcd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto/h1/dispatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ where
319319
.size_hint()
320320
.exact()
321321
.map(BodyLength::Known)
322-
.or_else(|| Some(BodyLength::Unknown));
322+
.or(Some(BodyLength::Unknown));
323323
self.body_rx.set(Some(body));
324324
btype
325325
};

0 commit comments

Comments
 (0)