diff --git a/src/install.rs b/src/install.rs index 2adde12..db6b708 100644 --- a/src/install.rs +++ b/src/install.rs @@ -619,7 +619,7 @@ fn build_record(prior: Option<&InstallRecord>, run: &Deployment<'_>) -> InstallR files: overlay::file_records(planned), }), // A `--verify` run installs no sidecar and must not erase the record of one that is - // already there; the same reasoning keeps the patch section (Phase 3) and any field a + // already there; the same reasoning keeps the patch section and any field a // newer installer wrote intact. A record that forgot a running service would make // `doctor` and `uninstall` forget it too. link: match sidecar { diff --git a/src/paths.rs b/src/paths.rs index edb9ec7..dc97445 100644 --- a/src/paths.rs +++ b/src/paths.rs @@ -145,7 +145,8 @@ mod tests { #[test] fn the_installers_own_files_sit_in_the_state_dir() { // Everything the installer owns lives together, so `uninstall` (Phase 4) has one place to - // clean and `doctor` has one place to read. The cached patch set joins them in Phase 3. + // clean and `doctor` has one place to read. The cached patch set and the pre-image + // copies of every patched file live there too. let l = platform_layout(); assert_eq!(l.install_record().parent(), Some(l.state_dir.as_path())); assert_eq!(l.sidecar_config().parent(), Some(l.state_dir.as_path())); diff --git a/src/record.rs b/src/record.rs index 3bf92c4..b7bc42b 100644 --- a/src/record.rs +++ b/src/record.rs @@ -44,7 +44,7 @@ pub struct InstallRecord { #[serde(default, skip_serializing_if = "Option::is_none")] pub link: Option, /// The patch tier: one entry per feature actually in place, with the rung that applied each of - /// its patches (Phase 3). + /// its patches. /// /// Raw JSON for the same reason as [`InstallRecord::link`] — a record written by a newer /// installer survives a re-run here intact. Read it with [`InstallRecord::patch_records`]. diff --git a/src/servuo.rs b/src/servuo.rs index ba5e2a8..1b7ea64 100644 --- a/src/servuo.rs +++ b/src/servuo.rs @@ -23,7 +23,7 @@ pub struct ServUoRoot { pub path: PathBuf, /// `None` when `Server/AssemblyInfo.cs` is absent or unparseable. Reported as "unknown", which /// is treated exactly like any other non-57.4 answer: the base install proceeds, and the patch - /// tier (Phase 3) takes its unsupported path. + /// tier takes its unsupported path. pub version: Option, } @@ -312,7 +312,7 @@ mod tests { #[test] fn an_unreadable_version_is_unknown_and_unsupported() { // "Unknown" must not be optimistically treated as 57.4: an unreadable version is not - // evidence of a good one, and it gates the patch tier in Phase 3. + // evidence of a good one, and it is what gates the patch tier. let tmp = TempDir::new("rg-test-noversion").unwrap(); let root = tmp.path().join("srv"); fake_root(&root);