Update async body doc (#1357)
Remove File from examples of what .body() accept
This commit is contained in:
		| @@ -53,7 +53,7 @@ | |||||||
| //! There are several ways you can set the body of a request. The basic one is | //! 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 | //! 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, | //! 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. | //! type, you can use the `reqwest::Body` constructors. | ||||||
| //! | //! | ||||||
| //! ```rust | //! ```rust | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user