From 1c666769947c3abfb3aa3fac5b16abddf8724934 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Mon, 1 Mar 2021 22:22:06 -0600 Subject: [PATCH] chore(docs): remove unnecessary crate:: prefix crate:: prefix was being unnecessarily used when importing Archive in several doctests --- client/src/archive.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/archive.rs b/client/src/archive.rs index 13d480d..a35780a 100644 --- a/client/src/archive.rs +++ b/client/src/archive.rs @@ -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 { @@ -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>(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"); /// ```