From ef303d44f81f118b87793aff05966a99e29d4504 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 26 Jun 2021 12:03:52 -0700 Subject: [PATCH] Fix 'TempFile' data guard warning formatting. --- core/lib/src/fs/temp_file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/src/fs/temp_file.rs b/core/lib/src/fs/temp_file.rs index 206d68b7..25a4ce9c 100644 --- a/core/lib/src/fs/temp_file.rs +++ b/core/lib/src/fs/temp_file.rs @@ -495,8 +495,8 @@ impl<'r> FromData<'r> for Capped> { let has_form = |ty: &ContentType| ty.is_form_data() || ty.is_form(); if req.content_type().map_or(false, has_form) { let (tf, form) = (Paint::white("TempFile<'_>"), Paint::white("Form>")); - warn!("Request contains a form that will not be processed."); - info_!("Bare `{}` data guard writes raw, unprocessed stream to disk.", tf); + warn_!("Request contains a form that will not be processed."); + info_!("Bare `{}` data guard writes raw, unprocessed streams to disk.", tf); info_!("Did you mean to use `{}` instead?", form); }