Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-o-how committed Jan 15, 2025
1 parent 71a0636 commit 899b2a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/serde/de_br.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ mod tests {
let mut allocator = Allocator::new();
let node = node_from_bytes_backrefs(&mut allocator, &buf).unwrap();
let old_node = node_from_bytes_backrefs_old(&mut allocator, &buf).unwrap();

let mut oc = ObjectCache::new(treehash);
let calculated_hash = oc.get_or_calculate(&allocator, &node, None).unwrap();
let ch: &[u8] = calculated_hash;
Expand Down
4 changes: 3 additions & 1 deletion src/serde/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ pub mod write_atom;
mod test;

pub use de::node_from_bytes;
pub use de_br::{node_from_bytes_backrefs, node_from_bytes_backrefs_record, node_from_bytes_backrefs_old};
pub use de_br::{
node_from_bytes_backrefs, node_from_bytes_backrefs_old, node_from_bytes_backrefs_record,
};
pub use de_tree::{parse_triples, ParsedTriple};
pub use identity_hash::RandomState;
pub use incremental::{Serializer, UndoState};
Expand Down

0 comments on commit 899b2a5

Please sign in to comment.