axum-extra: Remove stray deprecation in multipart builder (#2957)

This commit is contained in:
zleyyij 2024-10-04 10:59:26 -06:00 committed by Jonas Platte
parent bdefe59648
commit 5b6d1caaa7
No known key found for this signature in database
GPG key ID: 7D261D771D915378

View file

@ -24,7 +24,6 @@ impl MultipartForm {
/// let parts: Vec<Part> = vec![Part::text("foo".to_string(), "abc"), Part::text("bar".to_string(), "def")];
/// let form = MultipartForm::with_parts(parts);
/// ```
#[deprecated]
pub fn with_parts(parts: Vec<Part>) -> Self {
MultipartForm { parts }
}