From d35c311e6d7451baf017a45cc32770385cb51c9c Mon Sep 17 00:00:00 2001 From: Fredrik Enestad Date: Mon, 18 Oct 2021 18:54:38 +0200 Subject: [PATCH] Update async body doc (#1357) Remove File from examples of what .body() accept --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 16f1c37..9d8bab9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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`, and `File`. If you wish to pass a custom +//! including `String` and `Vec`. If you wish to pass a custom //! type, you can use the `reqwest::Body` constructors. //! //! ```rust