Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve comment on the Block type a bit
Browse files Browse the repository at this point in the history
deuszx committed Jan 13, 2025
1 parent 8402eb4 commit 51161cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions linera-chain/src/block.rs
Original file line number Diff line number Diff line change
@@ -208,6 +208,10 @@ pub enum ConversionError {
}

Check warning on line 208 in linera-chain/src/block.rs

GitHub Actions / lint-cargo-fmt

Diff in /home/runner/work/linera-protocol/linera-protocol/linera-chain/src/block.rs

/// Block defines the atomic unit of growth of the Linera chain.
/// As part of the block body, contains all the incoming messages
/// and operations to executed which define state transition of the chain.
/// Resulting messages produced by the operations are also included in the block body,
/// together with oracle responses and events.
#[derive(Debug, PartialEq, Eq, Hash, Clone, SimpleObject)]
pub struct Block {
/// Header of the block containing metadata of the block.

0 comments on commit 51161cf

Please sign in to comment.