Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #8032

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/turbo-tasks-hash/src/xxh3_hash64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ impl Xxh3Hash64Hasher {
Self(xxh3::Hash64::with_seed(0))
}

/// Uses the DeterministicHash trait to to hash the input in a
/// Uses the DeterministicHash trait to hash the input in a
/// cross-platform way.
pub fn write_value<T: DeterministicHash>(&mut self, input: T) {
input.deterministic_hash(self);
}

/// Uses the DeterministicHash trait to to hash the input in a
/// Uses the DeterministicHash trait to hash the input in a
/// cross-platform way.
pub fn write_ref<T: DeterministicHash>(&mut self, input: &T) {
input.deterministic_hash(self);
Expand Down
2 changes: 1 addition & 1 deletion crates/turbo-tasks-memory/src/aggregation_tree/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! The module implements a datastructure that aggregates a "forest" into less
//! nodes. For any node one can ask for a single aggregated version of all
//! children on that node. Changes the the forest will propagate up the
//! children on that node. Changes the forest will propagate up the
//! aggregation tree to keep it up to date. So asking of an aggregated
//! information is cheap and one can even wait for aggregated info to change.
//!
Expand Down
2 changes: 1 addition & 1 deletion crates/turbo-tasks/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl<T> Eq for State<T> {}

impl<T> Serialize for State<T> {
fn serialize<S: serde::Serializer>(&self, _serializer: S) -> Result<S::Ok, S::Error> {
// For this to work at all we need to do more. Changing the the state need to
// For this to work at all we need to do more. Changing the state need to
// invalidate the serialization of the task that contains the state. So we
// probably need to store the state outside of the task to be able to serialize
// it independent from the creating task.
Expand Down
2 changes: 1 addition & 1 deletion crates/turbo-tasks/src/task/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! work, but they are described in this blog post:
//! https://blog.logrocket.com/rust-bevy-entity-component-system/
//!
//! However, there are is an additional complication in our case: async methods
//! However, there is an additional complication in our case: async methods
//! that accept a reference to the receiver as their first argument.
//!
//! This complication handled through our own version of the `async_trait`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ opt in those tasks which don't themselves trigger a `turbo` run that would recur

After you've declared a task in `turbo.json`, it's up to you to implement it in
your `package.json` manifests. You can add scripts all at once, or one workspace
at at a time. Turborepo will gracefully skip workspaces that don't include the
at a time. Turborepo will gracefully skip workspaces that don't include the
task in their respective package.json manifest.

For example, if your repository has the three workspaces (similar to the ones mentioned above):
Expand Down
Loading