Skip to content

Commit 2429e1e

Browse files
authored
Merge pull request #414 from filecoin-project/anorth/pieceinfo
Derive Debug for PieceInfo
2 parents dc86408 + 6654e42 commit 2429e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/piece/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl PaddedPieceSize {
6262
}
6363

6464
/// Piece information for part or a whole file.
65-
#[derive(Serialize_tuple, Deserialize_tuple, PartialEq, Clone)]
65+
#[derive(Serialize_tuple, Deserialize_tuple, PartialEq, Clone, Debug)]
6666
pub struct PieceInfo {
6767
/// Size in nodes. For BLS12-381 (capacity 254 bits), must be >= 16. (16 * 8 = 128).
6868
pub size: PaddedPieceSize,

0 commit comments

Comments
 (0)