mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-24 16:17:56 +01:00
axum-extra: Remove stray deprecation in multipart builder (#2957)
This commit is contained in:
parent
bdefe59648
commit
5b6d1caaa7
1 changed files with 0 additions and 1 deletions
|
@ -24,7 +24,6 @@ impl MultipartForm {
|
||||||
/// let parts: Vec<Part> = vec![Part::text("foo".to_string(), "abc"), Part::text("bar".to_string(), "def")];
|
/// let parts: Vec<Part> = vec![Part::text("foo".to_string(), "abc"), Part::text("bar".to_string(), "def")];
|
||||||
/// let form = MultipartForm::with_parts(parts);
|
/// let form = MultipartForm::with_parts(parts);
|
||||||
/// ```
|
/// ```
|
||||||
#[deprecated]
|
|
||||||
pub fn with_parts(parts: Vec<Part>) -> Self {
|
pub fn with_parts(parts: Vec<Part>) -> Self {
|
||||||
MultipartForm { parts }
|
MultipartForm { parts }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue