update web history
This commit is contained in:
1 parent
e4b8fbfafe
commit
7ae8403af7
8 files changed
+127
-104
No files matched your search
@@ -41,8 +41,8 @@ impl<R: Routable> Default for MemoryHistory<R> {
|
||||
}
|
||||
|
||||
impl<R: Routable> HistoryProvider<R> for MemoryHistory<R> {
|
||||
fn current_route(&self) -> &R {
|
||||
self.current.as_ref().expect("current route is not set")
|
||||
fn current_route(&self) -> R {
|
||||
self.current.clone().expect("current route is not set")
|
||||
}
|
||||
|
||||
fn can_go_back(&self) -> bool {
|
||||
|
||||
Reference in new issue
Block a user