Skip to content

Commit

Permalink
Update async body doc
Browse files Browse the repository at this point in the history
Remove File from examples of what .body() accept
  • Loading branch information
fredr committed Oct 16, 2021
1 parent fead177 commit e391ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
//! There are several ways you can set the body of a request. The basic one is
//! by using the `body()` method of a [`RequestBuilder`][builder]. This lets you set the
//! exact raw bytes of what the body should be. It accepts various types,
//! including `String`, `Vec<u8>`, and `File`. If you wish to pass a custom
//! including `String` and `Vec<u8>`. If you wish to pass a custom
//! type, you can use the `reqwest::Body` constructors.
//!
//! ```rust
Expand Down

0 comments on commit e391ea6

Please sign in to comment.