Skip to content

Commit 49b09be

Browse files
committed
docs: fix grammar
1 parent 404c4f2 commit 49b09be

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

aggregation_mode/aggregation_programs/risc0/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ impl Risc0ImageIdAndPubInputs {
2222
}
2323
}
2424

25-
// Note: this MerkleTreeBackend is defined in three places
26-
// aggregation_mode/src/aggregators/mod.rs
27-
// aggregation_mode/src/aggregators/risc0_aggregator.rs and
28-
// aggregation_mode/src/aggregators/sp1_aggregator.rs
25+
// Note: this MerkleTreeBackend is defined in three locations
26+
// - aggregation_mode/src/aggregators/mod.rs
27+
// - aggregation_mode/src/aggregators/risc0_aggregator.rs
28+
// - aggregation_mode/src/aggregators/sp1_aggregator.rs
2929
// All 3 implementations should match
3030
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
3131
// Additionally, a version that takes the leaves as already hashed data is defined on:
32-
// batcher/aligned-sdk/src/sdk/aggregation.rs
32+
// - batcher/aligned-sdk/src/sdk/aggregation.rs
3333
// This one is used in the SDK since,
3434
// the user may not have access to the proofs that he didn't submit
3535
impl IsMerkleTreeBackend for Risc0ImageIdAndPubInputs {

aggregation_mode/aggregation_programs/sp1/src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ impl SP1VkAndPubInputs {
1919
}
2020
}
2121

22-
// Note: this MerkleTreeBackend is defined in three places
23-
// aggregation_mode/src/aggregators/mod.rs
24-
// aggregation_mode/src/aggregators/risc0_aggregator.rs and
25-
// aggregation_mode/src/aggregators/sp1_aggregator.rs
22+
// Note: this MerkleTreeBackend is defined in three locations
23+
// - aggregation_mode/src/aggregators/mod.rs
24+
// - aggregation_mode/src/aggregators/risc0_aggregator.rs and
25+
// - aggregation_mode/src/aggregators/sp1_aggregator.rs
2626
// All 3 implementations should match
2727
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
2828
// Additionally, a version that takes the leaves as already hashed data is defined on:
29-
// batcher/aligned-sdk/src/sdk/aggregation.rs
30-
// This one is used in the SDK since,
31-
// the user may not have access to the proofs that he didn't submit
29+
// - batcher/aligned-sdk/src/sdk/aggregation.rs
30+
// This one is used in the SDK since
31+
// the user may not have access to the proofs that they didn't submit
3232
impl IsMerkleTreeBackend for SP1VkAndPubInputs {
3333
type Data = SP1VkAndPubInputs;
3434
type Node = [u8; 32];

aggregation_mode/src/aggregators/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ impl AlignedProof {
132132
/// — Public inputs.
133133
///
134134
/// Intermediate nodes in the tree are formed by computing the keccak pairs of child nodes.
135-
// Note: this MerkleTreeBackend is defined in three places
136-
// aggregation_mode/src/aggregators/mod.rs
137-
// aggregation_mode/src/aggregators/risc0_aggregator.rs and
138-
// aggregation_mode/src/aggregators/sp1_aggregator.rs
135+
// Note: this MerkleTreeBackend is defined in three locations
136+
// - aggregation_mode/src/aggregators/mod.rs
137+
// - aggregation_mode/src/aggregators/risc0_aggregator.rs
138+
// - aggregation_mode/src/aggregators/sp1_aggregator.rs
139139
// All 3 implementations should match
140140
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
141141
// Additionally, a version that takes the leaves as already hashed data is defined on:
142-
// batcher/aligned-sdk/src/sdk/aggregation.rs
142+
// - batcher/aligned-sdk/src/sdk/aggregation.rs
143143
// This one is used in the SDK since,
144144
// the user may not have access to the proofs that he didn't submit
145145
impl IsMerkleTreeBackend for AlignedProof {

batcher/aligned-sdk/src/sdk/aggregation.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ pub struct Hash32([u8; 32]);
5555
// Note:
5656
// We define a version of the backend that takes the leaves as hashed data
5757
// since the user may not have access to the proofs that he didn't submit
58-
// The original MerkleTreeBackend is defined in three places
59-
// aggregation_mode/src/aggregators/mod.rs
60-
// aggregation_mode/src/aggregators/risc0_aggregator.rs and
61-
// aggregation_mode/src/aggregators/sp1_aggregator.rs
58+
// The original MerkleTreeBackend is defined in three locations
59+
// - aggregation_mode/src/aggregators/mod.rs
60+
// - aggregation_mode/src/aggregators/risc0_aggregator.rs
61+
// - aggregation_mode/src/aggregators/sp1_aggregator.rs
6262
// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1
6363
// Hashes of all implementations should match
6464
impl IsMerkleTreeBackend for Hash32 {

0 commit comments

Comments
 (0)