quicksave

This commit is contained in:
2024-12-08 10:08:09 +01:00
parent fd8c2438c2
commit 036e3d3574
4 changed files with 49 additions and 30 deletions
+2 -2
View File
@@ -18,12 +18,12 @@ pub struct Bookmarks {
}
impl Config {
impl Bookmarks {
const BOOKMARK_FILE_NAME: &str = "bookmarks.conf";
/// generates and populates a new instance of Config
pub fn new() -> Result<Self> {
let mut bookmarks = Config {
let mut bookmarks = Bookmarks {
conf_dir: PathBuf::new(),
bookmarks: HashMap::<String, PathBuf>::new(),
};