mirror of
https://github.com/zaphar/merkle-dag.git
synced 2025-07-22 02:29:49 -04:00
Fix docstring missplacement
This commit is contained in:
parent
6760e91175
commit
6e40f07f28
@ -17,6 +17,10 @@ use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::hash::HashWriter;
|
||||
|
||||
// NOTE(jwall): Since we enforce certain properties by construction in our DAG
|
||||
// It's important that serialization isn't able to bypass that. This struct
|
||||
// allows us to only serialize and deserialize the non-computable fields of a
|
||||
// node.
|
||||
#[derive(Serialize, Deserialize)]
|
||||
struct NodeSerde {
|
||||
item: Vec<u8>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user