Fix all spelling mistakes in history by typos tool

This commit is contained in:
Cautreoxit
2024-08-26 15:31:58 +08:00
committed by Tate, Hongliang Tian
parent b29d3b5409
commit 86f09eef75
120 changed files with 255 additions and 213 deletions

View File

@ -1,4 +1,4 @@
# This template file is used by the runner script to generate the acutal grub.cfg
# This template file is used by the runner script to generate the actual grub.cfg
# AUTOMATICALLY GENERATED FILE, DO NOT EDIT IF YOU KNOW WHAT YOU ARE DOING

View File

@ -113,7 +113,7 @@ fn generate_grub_cfg(
// Delete the first two lines that notes the file a template file.
let grub_cfg = grub_cfg.lines().skip(2).collect::<Vec<&str>>().join("\n");
// Set the timout style and timeout.
// Set the timeout style and timeout.
let grub_cfg = grub_cfg
.replace(
"#GRUB_TIMEOUT_STYLE#",

View File

@ -31,10 +31,10 @@ fn aster_rust_toolchain() -> String {
}
fn add_manifest_dependencies(cargo_metadata: &serde_json::Value, crate_name: &str) {
let mainfest_path = get_manifest_path(cargo_metadata, crate_name);
let manifest_path = get_manifest_path(cargo_metadata, crate_name);
let mut manifest: toml::Table = {
let content = fs::read_to_string(mainfest_path).unwrap();
let content = fs::read_to_string(manifest_path).unwrap();
toml::from_str(&content).unwrap()
};
@ -44,7 +44,7 @@ fn add_manifest_dependencies(cargo_metadata: &serde_json::Value, crate_name: &st
dependencies.as_table_mut().unwrap().extend(ostd_dep);
let content = toml::to_string(&manifest).unwrap();
fs::write(mainfest_path, content).unwrap();
fs::write(manifest_path, content).unwrap();
}
// Add `target/osdk/base` to `exclude` array of the workspace manifest