mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: remove unnecessary 'static lifetime from argument in function Style::as_value_string() (#2683)
This commit is contained in:
parent
3d37f08539
commit
0763a81cf1
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue