rename generic navigator to navigator
This commit is contained in:
1 parent
947a153347
commit
cc94711d62
2 files changed
+5
-5
No files matched your search
@@ -2,9 +2,9 @@ use crate::prelude::{ExternalNavigationFailure, IntoRoutable, RouterContext};
|
||||
|
||||
/// A view into the navigation state of a router.
|
||||
#[derive(Clone)]
|
||||
pub struct GenericNavigator(pub(crate) RouterContext);
|
||||
pub struct Navigator(pub(crate) RouterContext);
|
||||
|
||||
impl GenericNavigator {
|
||||
impl Navigator {
|
||||
/// Check whether there is a previous page to navigate back to.
|
||||
#[must_use]
|
||||
pub fn can_go_back(&self) -> bool {
|
||||
|
||||
Reference in new issue
Block a user