You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned this repository and tried to cargo build it, but it fails:
src/lib.rs:30:37: 30:45 error: type `iron::request::Body<'_>` does not implement any method in scope named `by_ref`
src/lib.rs:30 match LimitReader::new(req.body.by_ref(), limit).read_to_end() {
^~~~~~~~
src/lib.rs:30:45: 30:45 help: methods from traits can only be called if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
src/lib.rs:30:45: 30:45 help: candidate #1: use `std::io::ReadExt`
error: aborting due to previous error
Could not compile `bodyparser`.
I cloned this repository and tried to
cargo build
it, but it fails:Version:
I tried to fix it by adding
use std::io::ReadExt
, but it is not the only error...(I hope I didn't do anything wrong...)
The text was updated successfully, but these errors were encountered: