From 4fc596a0ee87d60663451f9d6362a5a97bf04ae1 Mon Sep 17 00:00:00 2001 From: ByteOtter Date: Thu, 31 Aug 2023 10:44:28 +0200 Subject: [PATCH] Update documentation --- src/configuration/config_parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configuration/config_parser.rs b/src/configuration/config_parser.rs index 559fa97..0edecd9 100644 --- a/src/configuration/config_parser.rs +++ b/src/configuration/config_parser.rs @@ -9,7 +9,7 @@ //! netbox_api_token = "" //! ``` //! -//! It will be created at `/etc/opt/.nbs-config.toml`. +//! It will be created at ` ~/.nbs-config.toml`. use serde::Deserialize; use std::fs::File; @@ -111,7 +111,7 @@ impl ConfigData { /// /// # Panics /// - /// If it is not able to create a new config file at `etc/opt/.nbs-config.toml` or if it cannot write the defaults + /// If it is not able to create a new config file at `~/.nbs-config.toml` or if it cannot write the defaults /// to the file, the function panics as this is the main method of configuring the program. fn initialize_config_file() -> std::io::Result<()> { // Create new toml table