From 09a6ea2823d9232e43a8e58310c73ba1300567f1 Mon Sep 17 00:00:00 2001 From: eupn Date: Sun, 31 Mar 2024 21:33:34 +0400 Subject: [PATCH] xtask: fix comment typos --- xtask/src/builder.rs | 2 +- xtask/src/main.rs | 2 +- xtask/src/versioning.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xtask/src/builder.rs b/xtask/src/builder.rs index ed5d9a623..16b1e14cb 100644 --- a/xtask/src/builder.rs +++ b/xtask/src/builder.rs @@ -250,7 +250,7 @@ impl Builder { } /// Configure for precursor targets. This is the default, but it's good practice - /// to call it anyways just in case the defaults change. The `soc_version` should + /// to call it anyway just in case the defaults change. The `soc_version` should /// be just the gitrev of the soc version, not the entire feature name. pub fn target_precursor(&mut self, soc_version: &str) -> &mut Builder { self.target = Some(crate::TARGET_TRIPLE_RISCV32.to_string()); diff --git a/xtask/src/main.rs b/xtask/src/main.rs index fc0ceca36..201ba8060 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -31,7 +31,7 @@ const PRECURSOR_SOC_VERSION: &str = "pvt"; Backups older than this cannot be parsed because the migration code for that backup was deprecated. The main purpose of this field is to assist the restore script in selecting a kernel: it will automatically downgrade a kernel as far as it must - to read a very old backup. This tag is *not* useful for enforcing a minimum + read a very old backup. This tag is *not* useful for enforcing a minimum version of the kernel to read a very *new* backup. Instead, when picking a kernel to restore from, the latest kernel should always be picked, diff --git a/xtask/src/versioning.rs b/xtask/src/versioning.rs index c1c46d272..7c75332dd 100644 --- a/xtask/src/versioning.rs +++ b/xtask/src/versioning.rs @@ -1,5 +1,5 @@ // Versioning infrastructure -// This generates the SEMVER data that is displayed when quering `xous ver` +// This generates the SEMVER data that is displayed when querying `xous ver` // It also generates timestamps, if demanded. use std::fs::OpenOptions;