rename generic navigator to navigator

This commit is contained in:
Evan Almloff committed 2023-07-26 11:09:40 -07:00
1 parent 947a153347
commit cc94711d62
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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 {