fix: remove unnecessary 'static lifetime from argument in function Style::as_value_string() (#2683)

This commit is contained in:
Dreo 2024-07-12 18:53:48 +03:00 committed by GitHub
parent 3d37f08539
commit 0763a81cf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,7 @@ impl Style {
/// Converts the style to its HTML value at that moment so it can be rendered on the server.
pub fn as_value_string(
&self,
style_name: &'static str,
style_name: &str,
) -> Option<Oco<'static, str>> {
match self {
Style::Value(value) => {