style: use Rust doc comments (///) instead of C-style /** */; clarify mount API header

This commit is contained in:
2025-09-29 12:09:52 +02:00
parent 2f696ef470
commit b0e41b59b1
4 changed files with 64 additions and 28 deletions

View File

@@ -1,5 +1,6 @@
// REGION: API
// api: mount::MountPlan { entries: Vec<(String /* source */, String /* target */, String /* fstype */, String /* options */)> }
// api: mount::MountPlan { entries: Vec<(String, String, String, String)> }
// note: tuple order = (source, target, fstype, options)
// api: mount::MountResult { source: String, target: String, fstype: String, options: String }
// api: mount::plan_mounts(fs_results: &[crate::fs::FsResult], cfg: &crate::config::types::Config) -> crate::Result<MountPlan>
// api: mount::apply_mounts(plan: &MountPlan) -> crate::Result<Vec<MountResult>>