From 5d60f8692a7502b9f9f242d52ce57e281e6a4922 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Tue, 3 Dec 2024 10:32:43 +0100 Subject: [PATCH] restore: docs: escape with code block otherwise: ``` warning: unclosed HTML tag `uid` --> proxmox-file-restore/src/main.rs:686:63 | 686 | /// "www-data", so we use a custom one in /run/proxmox-backup/ instead. | ^^^^^ | = note: `#[warn(rustdoc::invalid_html_tags)]` on by default ``` Signed-off-by: Maximiliano Sandoval --- proxmox-file-restore/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-file-restore/src/main.rs b/proxmox-file-restore/src/main.rs index 59ccbe52..572e2d18 100644 --- a/proxmox-file-restore/src/main.rs +++ b/proxmox-file-restore/src/main.rs @@ -663,7 +663,7 @@ fn main() { /// Returns a runtime dir owned by the current user. /// Note that XDG_RUNTIME_DIR is not always available, especially for non-login users like -/// "www-data", so we use a custom one in /run/proxmox-backup/ instead. +/// "www-data", so we use a custom one in `/run/proxmox-backup/` instead. pub fn get_user_run_dir() -> Result { let uid = nix::unistd::Uid::current(); let mut path: std::path::PathBuf = pbs_buildcfg::PROXMOX_BACKUP_RUN_DIR.into();