Fix docstring missplacement

This commit is contained in:
Jeremy Wall 2022-08-24 13:02:44 -04:00
parent 6760e91175
commit 6e40f07f28

View File

@ -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>,