Skip to content

Commit

Permalink
Fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
NaokiM03 committed Aug 31, 2024
1 parent 350733f commit 24b6270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/async_impl/multipart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ impl Form {
/// # Examples
///
/// ```no_run
/// # fn run() -> std::io::Result<()> {
/// # async fn run() -> std::io::Result<()> {
/// let form = reqwest::multipart::Form::new()
/// .file("key", "/path/to/file")?;
/// .file("key", "/path/to/file").await?;
/// # Ok(())
/// # }
/// ```
Expand Down

0 comments on commit 24b6270

Please sign in to comment.