merge stable version #2
|
@ -25,8 +25,8 @@ impl Product<PagesBuilder, Box> for Pages {
|
|||
}
|
||||
}
|
||||
|
||||
fn get(self) -> Box {
|
||||
self.wrapper
|
||||
fn get(&self) -> &Box {
|
||||
&self.wrapper
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ impl Product<TabsBuilder, Notebook> for Tabs {
|
|||
TabsBuilder { tabs: Vec::new() }
|
||||
}
|
||||
|
||||
fn get(self) -> Notebook {
|
||||
self.tabs_wrapper
|
||||
fn get(&self) -> &Notebook {
|
||||
&self.tabs_wrapper
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -58,4 +58,3 @@ impl TabsBuilder {
|
|||
self.tabs.push((tab_label, item.1));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue