Add inline doc comments and cargo doc to CI

This commit is contained in:
2026-06-01 14:13:35 +02:00
parent 51d3d714ba
commit 593ea7b51f
4 changed files with 20 additions and 2 deletions
+5
View File
@@ -33,6 +33,11 @@ const KNOWN_PATTERNS: &[(&str, &str)] = &[
///
/// Returns a deduplicated, ranked list. The first result is cached as
/// `save_path` in config.ini so subsequent launches skip the scan.
/// Auto-discover Subnautica 2 save folders across Steam, Xbox, Epic, and
/// custom installs. Checks both modern and legacy Steam paths.
///
/// Returns a deduplicated, ranked list. The first result is cached as
/// `save_path` in config.ini so subsequent launches skip the scan.
pub fn discover_save_folders() -> Vec<DiscoveredFolder> {
let mut found: Vec<DiscoveredFolder> = Vec::new();
let mut seen: std::collections::HashSet<PathBuf> = std::collections::HashSet::new();