mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
remove extra clone, use references
This commit is contained in:
parent
879fe7a6f6
commit
2962049926
3 changed files with 5 additions and 11 deletions
|
|
@ -24,7 +24,7 @@ impl Titan {
|
|||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(_tab_action: Rc<TabAction>, _base: Uri, title: Option<&str>) -> Self {
|
||||
pub fn build(_tab_action: &Rc<TabAction>, _base: &Uri, title: Option<&str>) -> Self {
|
||||
// Init local actions
|
||||
let action_update = SimpleAction::new(&uuid_string_random(), None);
|
||||
let action_send = SimpleAction::new(&uuid_string_random(), None);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue