mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
use is_pinned mutex as the struct option, begin use arc for new structs by default
This commit is contained in:
parent
41f0452e26
commit
793d179164
6 changed files with 37 additions and 29 deletions
|
|
@ -43,7 +43,7 @@ impl Item {
|
|||
let id = uuid_string_random();
|
||||
|
||||
// Init components
|
||||
let label = Arc::new(Label::new(id.clone(), false));
|
||||
let label = Label::new(id.clone(), false);
|
||||
|
||||
let page = Arc::new(Page::new(
|
||||
id.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue