From f49ee7da005ef8ec1718af722ccc0dcd35f95b5d Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 2 Jul 2021 06:48:09 -0700 Subject: [PATCH] Make 'FileName' danger more pronounced. --- core/lib/src/fs/file_name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/src/fs/file_name.rs b/core/lib/src/fs/file_name.rs index 9654f090..d69c92a4 100644 --- a/core/lib/src/fs/file_name.rs +++ b/core/lib/src/fs/file_name.rs @@ -195,7 +195,7 @@ impl FileName { /// The raw, unsanitized, potentially unsafe file name. Prefer to use /// [`FileName::as_str()`], always. /// - /// # Danger + /// # ⚠️ DANGER ⚠️ /// /// This method returns the file name exactly as it was specified by the /// client. You should **_not_** use this name _unless_ you require the