mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Janitor: Fix clippy::redundant_static_lifetimes
This commit is contained in:
parent
353582779d
commit
fd745550b3
3 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ Since neon does not allow to have a persistent handle, use this hack.
|
|||
use neon::prelude::*;
|
||||
pub struct PersistentContext<'a>(Handle<'a, JsArray>);
|
||||
|
||||
const KEY: &'static str = "$__persistent_context";
|
||||
const KEY: &str = "$__persistent_context";
|
||||
|
||||
/// Since neon does not allow to have a persistent handle, this allocates property in an array.
|
||||
/// This array is gonna be kept as a property somewhere.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue