Skip to content

Commit

Permalink
fix a &bool/bool E0308 error
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor authored and tiagolobocastro committed Jun 4, 2022
1 parent 3e23303 commit 01929bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ where
for<'de> S: Deserialize<'de> + Schema,
{
let mut buf = [b' '];
while &buf[0].is_ascii_whitespace() {
while buf[0].is_ascii_whitespace() {
reader.read_exact(&mut buf)?;
}
let reader = buf.as_ref().chain(reader);
Expand Down

0 comments on commit 01929bd

Please sign in to comment.