Skip to content

Commit

Permalink
removing a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
angelip2303 committed Apr 14, 2023
1 parent f21f29e commit cdbf9bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pregel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub enum ColumnIdentifier {
/// The `Id` variant represents the column that contains the vertex IDs.
Id,
/// The `Src` variant represents the column that contains the source vertex IDs.
Src, // TODO: check if the repeated naming is just fine or not
Src,
/// The `Dst` variant represents the column that contains the destination vertex IDs.
Dst,
/// The `Edge` variant represents the column that contains the edge IDs.
Expand Down Expand Up @@ -316,6 +316,7 @@ impl PregelBuilder {
MessageReceiver::Src => Pregel::src(ColumnIdentifier::Id),
MessageReceiver::Dst => Pregel::edge(ColumnIdentifier::Dst),
};
// Now we can set the send_messages field of the struct to the provided expression.
self.send_messages = (to, send_messages);
self
}
Expand Down

0 comments on commit cdbf9bd

Please sign in to comment.