From 5b6d1caaa71c91a50c824dc60cde2553ae1e0682 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:59:26 -0600 Subject: [PATCH] axum-extra: Remove stray deprecation in multipart builder (#2957) --- axum-extra/src/response/multiple.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/axum-extra/src/response/multiple.rs b/axum-extra/src/response/multiple.rs index 1fdbd8e7..250dc024 100644 --- a/axum-extra/src/response/multiple.rs +++ b/axum-extra/src/response/multiple.rs @@ -24,7 +24,6 @@ impl MultipartForm { /// let parts: Vec = 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) -> Self { MultipartForm { parts } }