From 8320fae2bf34f88da8df336c6a325fbb8007aa25 Mon Sep 17 00:00:00 2001 From: linchizhen Date: Fri, 17 Jan 2025 18:32:47 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: linchizhen --- DEVELOPMENT.md | 2 +- crates/dojo/test-utils/src/compiler.rs | 2 +- crates/dojo/world/src/contracts/contract_info.rs | 2 +- crates/dojo/world/src/local/mod.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 93fd716170..bcb1f4c2f9 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -38,7 +38,7 @@ Install the [Cairo 1.0](https://marketplace.visualstudio.com/items?itemName=star Before you submit your pull request, you should run the test suite locally to make sure your changes haven't broken anything. -To run the test, you can execute the same command that will be exected on the CI by checking the [`.github/workflows/ci.yml`](.github/workflows/ci.yml) file. +To run the test, you can execute the same command that will be executed on the CI by checking the [`.github/workflows/ci.yml`](.github/workflows/ci.yml) file. ```bash # Run all the tests excluding Katana (due to SiR dependency, they may be run independently) diff --git a/crates/dojo/test-utils/src/compiler.rs b/crates/dojo/test-utils/src/compiler.rs index 5266cf7f94..8e18fa28bc 100644 --- a/crates/dojo/test-utils/src/compiler.rs +++ b/crates/dojo/test-utils/src/compiler.rs @@ -296,7 +296,7 @@ pub fn copy_project_temp( /// * `path` - The path to the Scarb.toml file to build the config for. /// * `profile` - The profile to use for the config. pub fn build_test_config(path: &str, profile: Profile) -> anyhow::Result { - // If the cache_dir is not overriden, we can't run tests in parallel. + // If the cache_dir is not overridden, we can't run tests in parallel. let cache_dir = TempDir::new().unwrap(); let path = Utf8PathBuf::from_path_buf(path.into()).unwrap(); diff --git a/crates/dojo/world/src/contracts/contract_info.rs b/crates/dojo/world/src/contracts/contract_info.rs index 4445555160..35eb5660bd 100644 --- a/crates/dojo/world/src/contracts/contract_info.rs +++ b/crates/dojo/world/src/contracts/contract_info.rs @@ -29,7 +29,7 @@ pub struct ContractInfo { pub tag: String, /// The address of the contract. pub address: Felt, - /// The entrypoints that can be targetted with a transaction. + /// The entrypoints that can be targeted with a transaction. /// This only includes `external` functions. pub entrypoints: Vec, } diff --git a/crates/dojo/world/src/local/mod.rs b/crates/dojo/world/src/local/mod.rs index 5410ada8f5..1a4e67400e 100644 --- a/crates/dojo/world/src/local/mod.rs +++ b/crates/dojo/world/src/local/mod.rs @@ -39,7 +39,7 @@ pub struct WorldLocal { /// The profile configuration of the local world. pub profile_config: ProfileConfig, /// All the entrypoints that are exposed by the world - /// and can be targetted by a transaction. + /// and can be targeted by a transaction. pub entrypoints: Vec, }