Skip to content

Commit 124c0fc

Browse files
authored
chore: fix some minor issues in comments (#1020)
Signed-off-by: pingshuijie <pingshuijie@outlook.com>
1 parent 48a7316 commit 124c0fc

12 files changed

Lines changed: 12 additions & 12 deletions

File tree

boost_manager/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn default_log() -> String {
6868

6969
impl Settings {
7070
/// Load Settings from a given path. Settings are loaded from a given
71-
/// optional path and can be overriden with environment variables.
71+
/// optional path and can be overridden with environment variables.
7272
///
7373
/// Environment overrides have the same name as the entries in the settings
7474
/// file in uppercase and prefixed with "MI_". For example "MI_DATABASE_URL"

denylist/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn default_trigger_interval() -> Duration {
3737

3838
impl Settings {
3939
/// Load Settings from a given path. Settings are loaded from a given
40-
/// optional path and can be overriden with environment variables.
40+
/// optional path and can be overridden with environment variables.
4141
///
4242
/// Environment overrides have the same name as the entries in the settings
4343
/// file in uppercase and prefixed with "DENYLIST_". For example

ingest/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub enum Mode {
7777

7878
impl Settings {
7979
/// Load Settings from a given path. Settings are loaded from a given
80-
/// optional path and can be overriden with environment variables.
80+
/// optional path and can be overridden with environment variables.
8181
///
8282
/// Environment overrides have the same name as the entries in the settings
8383
/// file in uppercase and prefixed with "ENTROPY_". For example

iot_packet_verifier/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fn default_monitor_funds_period() -> Duration {
5858

5959
impl Settings {
6060
/// Load Settings from a given path. Settings are loaded from a given
61-
/// optional path and can be overriden with environment variables.
61+
/// optional path and can be overridden with environment variables.
6262
///
6363
/// Environment overrides have the same name as the entries in the settings
6464
/// file in uppercase and prefixed with "VERIFY_". For example

iot_verifier/src/poc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ mod tests {
11661166
)
11671167
.is_ok());
11681168

1169-
// modify the generated beacon to have a tx power > that that defined in
1169+
// modify the generated beacon to have a tx power > that defined in
11701170
// region params
11711171
// this will be rendered invalid
11721172
ingest_beacon_report.report.tx_power = 20;

iot_verifier/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ fn default_witness_max_retries() -> u64 {
230230

231231
impl Settings {
232232
/// Load Settings from a given path. Settings are loaded from a given
233-
/// optional path and can be overriden with environment variables.
233+
/// optional path and can be overridden with environment variables.
234234
///
235235
/// Environment overrides have the same name as the entries in the settings
236236
/// file in uppercase and prefixed with "VERIFY_". For example

mobile_packet_verifier/src/burner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async fn handle_transaction_success(
214214
sessions: Vec<pending_burns::DataTransferSession>,
215215
valid_sessions: &FileSinkClient<ValidDataTransferSession>,
216216
) -> Result<(), anyhow::Error> {
217-
// We succesfully managed to burn data credits:
217+
// We successfully managed to burn data credits:
218218
metrics::counter!(
219219
"burned",
220220
"payer" => payer.to_string(),

mobile_packet_verifier/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn default_min_burn_period() -> Duration {
8686

8787
impl Settings {
8888
/// Load Settings from a given path. Settings are loaded from a given
89-
/// optional path and can be overriden with environment variables.
89+
/// optional path and can be overridden with environment variables.
9090
///
9191
/// Environment overrides have the same name as the entries in the settings
9292
/// file in uppercase and prefixed with "VERIFY_". For example

mobile_verifier/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn default_data_sets_poll_duration() -> Duration {
8080

8181
impl Settings {
8282
/// Load Settings from a given path. Settings are loaded from a given
83-
/// optional path and can be overriden with environment variables.
83+
/// optional path and can be overridden with environment variables.
8484
///
8585
/// Environment overrides have the same name as the entries in the settings
8686
/// file in uppercase and prefixed with "VERIFY_". For example

poc_entropy/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn default_listen_addr() -> String {
3838

3939
impl Settings {
4040
/// Load Settings from a given path. Settings are loaded from a given
41-
/// optional path and can be overriden with environment variables.
41+
/// optional path and can be overridden with environment variables.
4242
///
4343
/// Environment overrides have the same name as the entries in the settings
4444
/// file in uppercase and prefixed with "ENTROPY_". For example

0 commit comments

Comments
 (0)