chore(docs): remove unnecessary crate:: prefix

crate:: prefix was being unnecessarily used when importing Archive in
several doctests
This commit is contained in:
Rekai Nyangadzayi Musuka 2021-03-01 22:22:06 -06:00
parent c42a808878
commit 1c66676994
1 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ impl Archive {
///
/// # Examples
/// ```
/// # use crate::client::archive::Archive;
/// # use client::archive::Archive;
/// let archive_res = Archive::try_default();
/// ```
pub fn try_default() -> Result<Self, ProjectDirError> {
@ -45,7 +45,7 @@ impl Archive {
///
/// # Examples
/// ```
/// # use crate::client::archive::Archive;
/// # use client::archive::Archive;
/// let archive = Archive::new("/home/user/.local/share/save-sync", "/home/user/.config/save-sync");
/// ```
pub fn new<P: AsRef<Path>>(data_root: P, config_root: P) -> Self {
@ -73,7 +73,7 @@ impl Archive {
///
/// # Examples
/// ```
/// # use crate::client::archive::Archive;
/// # use client::archive::Archive;
/// let mut archive = Archive::try_default().unwrap();
/// let game_save_path = "/home/user/Documents/generic_company/generic_game/save_folder";
/// match archive.track_game(game_save_path) {
@ -149,7 +149,7 @@ impl Archive {
///
/// # Examples
/// ```
/// # use crate::client::archive::Archive;
/// # use client::archive::Archive;
/// let mut archive = Archive::try_default().unwrap();
/// let drop_res = archive.drop_game("/home/user/Documents/generic_company/generic_game/save_folder");
/// ```
@ -170,7 +170,7 @@ impl Archive {
///
/// # Examples
/// ```
/// # use crate::client::archive::Archive;
/// # use client::archive::Archive;
/// let mut archive = Archive::try_default().unwrap();
/// let drop_res = archive.drop_game("raging_loop");
/// ```