Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grapl committed Mar 2, 2021
1 parent 5257041 commit b2f85ab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/rust/grapl-service/src/serialization/zstd_proto_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl CompletionEventSerializer for GraphDescriptionSerializer {
if subgraph.is_empty() {
debug!(
concat!(
"Output subgraphis empty. Serializing to empty vector.",
"Output subgraph is empty. Serializing to empty vector.",
"pre_nodes: {} pre_edges: {}"
),
pre_nodes, pre_edges,
Expand Down Expand Up @@ -81,7 +81,7 @@ impl CompletionEventSerializer for GraphDescriptionSerializer {
let mut compressed = &mut self.compressed;
let mut proto = std::io::Cursor::new(&self.proto);

// compress encoded subgraphinto `compressed` vector
// compress encoded subgraph into `compressed` vector
zstd::stream::copy_encode(&mut proto, &mut compressed, 4)?;

Ok(vec![compressed.clone()])
Expand Down Expand Up @@ -132,7 +132,7 @@ impl CompletionEventSerializer for IdentifiedGraphSerializer {
if subgraph.is_empty() {
debug!(
concat!(
"Output subgraphis empty. Serializing to empty vector.",
"Output subgraph is empty. Serializing to empty vector.",
"pre_nodes: {} pre_edges: {}"
),
pre_nodes, pre_edges,
Expand Down Expand Up @@ -162,7 +162,7 @@ impl CompletionEventSerializer for IdentifiedGraphSerializer {
let mut compressed = &mut self.compressed;
let mut proto = std::io::Cursor::new(&self.proto);

// compress encoded subgraphinto `compressed` vector
// compress encoded subgraph into `compressed` vector
zstd::stream::copy_encode(&mut proto, &mut compressed, 4)?;

Ok(vec![compressed.clone()])
Expand Down Expand Up @@ -213,7 +213,7 @@ impl CompletionEventSerializer for MergedGraphSerializer {
if subgraph.is_empty() {
debug!(
concat!(
"Output subgraphis empty. Serializing to empty vector.",
"Output subgraph is empty. Serializing to empty vector.",
"pre_nodes: {} pre_edges: {}"
),
pre_nodes, pre_edges,
Expand Down Expand Up @@ -242,7 +242,7 @@ impl CompletionEventSerializer for MergedGraphSerializer {
let mut compressed = &mut self.compressed;
let mut proto = std::io::Cursor::new(&self.proto);

// compress encoded subgraphinto `compressed` vector
// compress encoded subgraph into `compressed` vector
zstd::stream::copy_encode(&mut proto, &mut compressed, 4)?;

Ok(vec![compressed.clone()])
Expand Down

0 comments on commit b2f85ab

Please sign in to comment.