Skip to content

Commit 9948737

Browse files
Fix typos in the documentation and comments (TraceMachina#1174)
There are typos of misusing `it's` instead of `its` in the documentation and comments. Those typos can be found in the contribution documentation file and code comments of this project. No more typos like this exist after this commit.
1 parent 3b8c3a5 commit 9948737

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ please raise an issue so that we can clarify this document.
8686
8787
## Local development setup
8888
89-
NativeLink ships almost all of it's tooling in a nix flake which is configured
89+
NativeLink ships almost all of its tooling in a nix flake which is configured
9090
via a [`flake.nix`](./flake.nix) file in the root of the repository. While it's
9191
possible to work on some parts of the codebase without this environment, it'll
9292
make your life much easier since it lets you reproduce most of CI locally.
@@ -390,7 +390,7 @@ bazel test doctests
390390

391391
NativeLink largely follows the [Microsoft Style Guide](https://learn.microsoft.com/en-us/style-guide/welcome/).
392392

393-
NativeLink implements it's documentation style guide via Vale. The pre-commit
393+
NativeLink implements its documentation style guide via Vale. The pre-commit
394394
hooks forbid errors but permit warnings and suggestions. To view all of Vale's
395395
suggestions invoke it directly:
396396

nativelink-config/src/schedulers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub struct SimpleScheduler {
8787
/// The property names here must match the property keys provided by the
8888
/// worker nodes when they join the pool. In other words, the workers will
8989
/// publish their capabilities to the scheduler when they join the worker
90-
/// pool. If the worker fails to notify the scheduler of it's (for example)
90+
/// pool. If the worker fails to notify the scheduler of its (for example)
9191
/// "cpu_arch", the scheduler will never send any jobs to it, if all jobs
9292
/// have the "cpu_arch" label. There is no special treatment of any platform
9393
/// property labels other and entirely driven by worker configs and this

nativelink-service/src/bytestream_server.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl ByteStreamServer {
246246
let (tx, rx) = make_buf_channel_pair();
247247
let store_update_fut = Box::pin(async move {
248248
// We need to wrap `Store::update()` in a another future because we need to capture
249-
// `store` to ensure it's lifetime follows the future and not the caller.
249+
// `store` to ensure its lifetime follows the future and not the caller.
250250
store
251251
// Bytestream always uses digest size as the actual byte size.
252252
.update(

nativelink-store/tests/filesystem_store_test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ async fn rename_on_insert_fails_due_to_filesystem_error_proper_cleanup_happens()
989989
// Delete may happen on another thread, so wait for it.
990990
FILE_DELETED_BARRIER.wait().await;
991991

992-
// Now it should have cleaned up it's temp files.
992+
// Now it should have cleaned up its temp files.
993993
{
994994
// Ensure `temp_path` is empty.
995995
let (_permit, dir_handle) = fs::read_dir(&temp_path).await?.into_inner();

nativelink-util/src/fastcdc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl State {
3030
/// normal conditions all the chunk boundaries will be identical except the ones near
3131
/// the mutations.
3232
///
33-
/// This is not very useful on it's own, but is extremely useful because we can pair
33+
/// This is not very useful on its own, but is extremely useful because we can pair
3434
/// this together with a hash algorithm (like sha256) to then hash each chunk and
3535
/// then check to see if we already have the sha256 somewhere before attempting to
3636
/// upload the file. If the file does exist, we can skip the chunk and continue then

nativelink-util/src/resource_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const SLASH_SIZE: usize = 1;
7878
// uploads/{uuid}/blobs/ {hash}/{size}
7979
//
8080

81-
// Useful utility struct for converting bazel's (uri-like path) into it's parts.
81+
// Useful utility struct for converting bazel's (uri-like path) into its parts.
8282
#[derive(Debug, Default)]
8383
pub struct ResourceInfo<'a> {
8484
pub instance_name: Cow<'a, str>,

0 commit comments

Comments
 (0)