From 9b568f9c7995e32a67b12149fb0fcb27bd320b84 Mon Sep 17 00:00:00 2001 From: arewerage Date: Fri, 30 Dec 2022 02:59:21 +0900 Subject: [PATCH] Minor changes --- crates/bevy_render/src/color/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/color/mod.rs b/crates/bevy_render/src/color/mod.rs index e1328ce718f7a..8f75ff3a7d0b2 100644 --- a/crates/bevy_render/src/color/mod.rs +++ b/crates/bevy_render/src/color/mod.rs @@ -253,7 +253,7 @@ impl Color { /// ``` /// pub fn hex>(hex: T) -> Result { - let hex = hex.as_ref().replace("#", ""); + let hex = hex.as_ref().replace('#', ""); // RGB if hex.len() == 3 {