mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-03 01:18:02 +03:00
docs: fix outer docs comments
Fixes the suspicious_doc_comments clippy lints: ``` warning: this is an outer doc comment and does not apply to the parent module or crate --> proxmox-restore-daemon/src/main.rs:1:1 | 1 | ///! Daemon binary to run inside a micro-VM for secure single file restore of disk images | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments = note: `#[warn(clippy::suspicious_doc_comments)]` on by default help: use an inner doc comment to document the parent module or crate | 1 | //! Daemon binary to run inside a micro-VM for secure single file restore of disk images | warning: this is an outer doc comment and does not apply to the parent module or crate --> proxmox-restore-daemon/src/proxmox_restore_daemon/mod.rs:1:1 | 1 | ///! File restore VM related functionality | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments help: use an inner doc comment to document the parent module or crate | 1 | //! File restore VM related functionality | warning: this is an outer doc comment and does not apply to the parent module or crate --> proxmox-restore-daemon/src/proxmox_restore_daemon/api.rs:1:1 | 1 | ///! File-restore API running inside the restore VM | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments help: use an inner doc comment to document the parent module or crate | 1 | //! File-restore API running inside the restore VM | ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
ff9e36b431
commit
80264dbfaa
@ -1,4 +1,4 @@
|
||||
///! Daemon binary to run inside a micro-VM for secure single file restore of disk images
|
||||
//! Daemon binary to run inside a micro-VM for secure single file restore of disk images
|
||||
use std::fs::File;
|
||||
use std::io::prelude::*;
|
||||
use std::os::unix::{
|
||||
|
@ -1,4 +1,4 @@
|
||||
///! File-restore API running inside the restore VM
|
||||
//! File-restore API running inside the restore VM
|
||||
use std::ffi::OsStr;
|
||||
use std::fs;
|
||||
use std::os::unix::ffi::OsStrExt;
|
||||
|
@ -1,4 +1,4 @@
|
||||
///! File restore VM related functionality
|
||||
//! File restore VM related functionality
|
||||
mod api;
|
||||
pub use api::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user