Skip to content

Commit 733688f

Browse files
timesincesylvestre
authored andcommitted
chore: fix some comments
Signed-off-by: timesince <[email protected]>
1 parent 7a0844c commit 733688f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/DistributedFreeBSD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ token = "my server's token"
6868
FreeBSD as a build client
6969
-------------------------
7070

71-
On a FreeBSD client, make sure to add the right toolchains to to
71+
On a FreeBSD client, make sure to add the right toolchains to
7272
`~/.config/sccache/config`:
7373

7474
```toml

docs/Redis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Redis endpoint URL format can be found in the [OpenDAL source code](https://gith
1010

1111
Redis can be configured as a LRU (least recently used) cache with a fixed maximum cache size. Set `maxmemory` and `maxmemory-policy` according to the [Redis documentation](https://redis.io/topics/lru-cache). The `allkeys-lru` policy which discards the *least recently accessed or modified* key fits well for the sccache use case.
1212

13-
Redis over TLS is supported. Use the [`rediss://`](https://www.iana.org/assignments/uri-schemes/prov/rediss) url scheme (note `rediss` vs `redis`). Append `#insecure` the the url to disable hostname verification and accept self-signed certificates (dangerous!). Note that this also disables [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication).
13+
Redis over TLS is supported. Use the [`rediss://`](https://www.iana.org/assignments/uri-schemes/prov/rediss) url scheme (note `rediss` vs `redis`). Append `#insecure` the url to disable hostname verification and accept self-signed certificates (dangerous!). Note that this also disables [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication).
1414

1515
If you want to authenticate to Redis, set `SCCACHE_REDIS_USERNAME` and `SCCACHE_REDIS_PASSWORD` to the username and password accordingly.
1616

src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl TimeMacroFinder {
200200
if !self.previous_small_read.is_empty() {
201201
// In a rare pathological case where all reads are small,
202202
// this will grow up to the length of the file.
203-
// It it *very* unlikely and of minor performance
203+
// It is *very* unlikely and of minor performance
204204
// importance compared to just getting many small reads.
205205
self.previous_small_read.extend(visit);
206206
} else {

0 commit comments

Comments
 (0)