Skip to content

Commit 33ea1cf

Browse files
authored
chore: fix some comments (linera-io#3082)
## Motivation <!-- Briefly describe the goal(s) of this PR. --> fix some comments ## Proposal <!-- Summarize the proposed changes and how they address the goal(s) stated above. --> ## Test Plan <!-- Explain how you made sure that the changes are correct and that they perform as intended. Please describe testing protocols (CI, manual tests, benchmarks, etc) in a way that others can reproduce the results. --> ## Release Plan <!-- If this PR targets the `main` branch, **keep the applicable lines** to indicate if you recommend the changes to be picked in release branches, SDKs, and hotfixes. This generally concerns only bug fixes. Note that altering the public protocol (e.g. transaction format, WASM syscalls) or storage formats requires a new deployment. --> - Nothing to do / These changes follow the usual release cycle. - These changes should be backported to the latest `devnet` branch, then - be released in a new SDK, - be released in a validator hotfix. - These changes should be backported to the latest `testnet` branch, then - be released in a new SDK, - be released in a validator hotfix. - Backporting is not possible but we may want to deploy a new `devnet` and release a new SDK soon. ## Links <!-- Optional section for related PRs, related issues, and other references. If needed, please create issues to track future improvements and link them here. --> - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist) Signed-off-by: luchenhan <hanluchen@aliyun.com>
1 parent 6c5519c commit 33ea1cf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/matching-engine/src/contract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ impl MatchingEngineContract {
633633
/// * Getting from the best matching price to the least good the price levels
634634
/// are cleared.
635635
/// * That clearing creates a number of transfer orders.
636-
/// * If after the level clearing the order is completely filled then it it not
636+
/// * If after the level clearing the order is completely filled then it is not
637637
/// inserted. Otherwise, it became a liquidity order in the matching engine
638638
async fn insert_and_uncross_market(
639639
&mut self,

linera-rpc/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub struct ValidatorInternalNetworkPreConfig<P> {
112112
pub shards: Vec<ShardConfig>,
113113
/// The host name of the proxy on the internal network (IP or hostname).
114114
pub host: String,
115-
/// The port the proxy listens on on the internal network.
115+
/// The port the proxy listens on the internal network.
116116
pub port: u16,
117117
/// The host name of the proxy's metrics endpoint.
118118
pub metrics_host: String,

linera-views/src/views/map_view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ where
613613
/// shortened one by the prefix. The value is an enum that can be either a value
614614
/// or its serialization. This is needed in order to avoid a scenario where we
615615
/// deserialize something that was serialized. The key/value are send to the
616-
/// function f. If it returns false the the loop ends prematurely. Keys and values
616+
/// function f. If it returns false the loop ends prematurely. Keys and values
617617
/// are visited in the lexicographic order.
618618
async fn for_each_key_value_or_bytes_while<'a, F>(
619619
&'a self,

0 commit comments

Comments
 (0)