Use raw_body for bytes payload in doc examples.

This commit is contained in:
iinuwa 2020-02-21 06:53:07 -06:00 committed by GitHub
parent 1c23df55e4
commit e5e89b8929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ use http::Method;
/// }
///
/// request {
/// #[ruma_api(body)]
/// #[ruma_api(raw_body)]
/// pub file: Vec<u8>,
/// }
///