Skip to content

Commit

Permalink
[Minor][C++] Fix grammar mistakes. (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thespica authored Jul 21, 2023
1 parent 8b0ac10 commit f4d01b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpp/include/gar/graph_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ class EdgeInfo {
*
* @param vertex_chunk_index the vertex chunk index
* @param edge_chunk_index index of edge adj list chunk of the vertex chunk
* @param adj_list_type The adjacency list type.
*/
inline Result<std::string> GetAdjListFilePath(IdType vertex_chunk_index,
IdType edge_chunk_index,
Expand Down Expand Up @@ -839,6 +840,7 @@ class EdgeInfo {
* the offset chunks is aligned with the vertex chunks
*
* @param vertex_chunk_index index of vertex chunk
* @param adj_list_type The adjacency list type.
*/
inline Result<std::string> GetAdjListOffsetFilePath(
IdType vertex_chunk_index, AdjListType adj_list_type) const noexcept {
Expand Down Expand Up @@ -1033,7 +1035,7 @@ class EdgeInfo {
return true;
}

/** Loads the yaml as a EdgeInfo instance. */
/** Loads the yaml as an EdgeInfo instance. */
static Result<EdgeInfo> Load(std::shared_ptr<Yaml> yaml);

private:
Expand Down Expand Up @@ -1131,7 +1133,7 @@ class GraphInfo {
}

/**
*@brief Add a edge info path to graph info instance.
*@brief Add an edge info path to graph info instance.
*
*@param path The edge info path to add
*/
Expand Down

0 comments on commit f4d01b4

Please sign in to comment.