diff --git a/src/config/bundles.rs b/src/config/bundles.rs index fe5b2c9..7405761 100644 --- a/src/config/bundles.rs +++ b/src/config/bundles.rs @@ -181,7 +181,7 @@ impl BundleStore { .map(|(name, record)| (name.as_str(), record)) } - /// A URL already tracked under a different key migrates to the new key — + /// A URL already tracked under a different key migrates to the new key, so /// the same URL never gets a second record. A name held by a /// different-source bundle is owner-qualified instead. pub(crate) fn resolve_bundle_name( @@ -371,7 +371,7 @@ impl BundleStore { } /// An entry whose key any bundle already owns transfers to `bundle`, and - /// its `replaced` action upgrades to `transferred` — plain `replaced` + /// its `replaced` action upgrades to `transferred`; plain `replaced` /// marks a pre-existing user entry that uninstall must never delete. pub(crate) fn record_mcp_servers( &mut self, diff --git a/src/config/install_remote.rs b/src/config/install_remote.rs index 21348b6..fd6a912 100644 --- a/src/config/install_remote.rs +++ b/src/config/install_remote.rs @@ -265,8 +265,8 @@ pub fn install_or_update_from_repl_args(args: &str) -> Result<()> { install_or_update(&value, git_host.as_deref(), filter, force) } -/// The whole remote is always processed — including categories a filtered -/// install excluded — because filtered installs merge into a single record. +/// The whole remote is always processed, including categories a filtered +/// install excluded, because filtered installs merge into a single record. pub fn update_bundle(spec: &str) -> Result<()> { let (name, ref_override) = parse_url_with_ref(spec)?; @@ -591,7 +591,7 @@ fn select_uninstall_candidate(store: &BundleStore, spec: &str) -> Result { let described: Vec = candidates .iter() - .map(|(name, source)| format!("{name} — {source}")) + .map(|(name, source)| format!("{name} ({source})")) .collect(); if !*IS_STDOUT_TERMINAL { bail!( @@ -1065,7 +1065,7 @@ pub(crate) struct BundleManifest { pub(crate) homepage: Option, } -/// Returns the record key — possibly migrated or owner-qualified — that all +/// Returns the record key, possibly migrated or owner-qualified, that all /// subsequent recording must use in place of the requested name. fn register_bundle( store: &mut BundleStore, @@ -1588,8 +1588,8 @@ fn apply_plan( Ok(report) } -/// Kept and identical files are never recorded — ownership means "this -/// content exists because of this bundle" — so a file another bundle's +/// Kept and identical files are never recorded, because ownership means +/// "this content exists because of this bundle": a file another bundle's /// record already owns stays with that owner. fn record_written_file( store: &mut BundleStore,