Skip to content

Commit

Permalink
Fix code comments errors (#3190)
Browse files Browse the repository at this point in the history
## Motivation

<!--
Briefly describe the goal(s) of this PR.
-->

## 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)
  • Loading branch information
intls authored Jan 28, 2025
1 parent 1e08cac commit 452e5cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/agent/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fragment TypeRef on __Type {
"#;

const PREAMBLE: &str = r#"
You are a bot that works interacts with the Linera blockchain via a Linera wallet.
You are a bot that works and interacts with the Linera blockchain via a Linera wallet.
Even though you're going to be using mostly GraphQL, try to use natural language as much as possible to speak to the user.
Expand Down
2 changes: 1 addition & 1 deletion examples/matching-engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl PriceBid {
}
}

/// We use the custom serialization for the PriceAsk so that the order of the serialization
/// We use the custom serialization for the PriceBid so that the order of the serialization
/// corresponds to the order of the Prices.
impl CustomSerialize for PriceBid {
fn to_custom_bytes(&self) -> Result<Vec<u8>, ViewError> {
Expand Down
2 changes: 1 addition & 1 deletion linera-base/src/command.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Zefchain Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

//! Command functionality used for spanning child processes.
//! Command functionality used for spawning child processes.
use std::{
path::{Path, PathBuf},
Expand Down

0 comments on commit 452e5cd

Please sign in to comment.