Skip to content

Commit

Permalink
fix typos in rustdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniestevez committed May 24, 2024
1 parent ffef32a commit 4e3fc10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mackay_neal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! The algorithm works by adding column by column to the parity check
//! matrix. At each step, `wc` rows from the subset of rows that have not yet
//! achieved the total row weight `wr` are random chosen, and ones are inserted
//! achieved the total row weight `wr` are randomly chosen, and ones are inserted
//! in those positions.
//!
//! Optionally, to enforce a minimum girth, at each step the candidate
Expand Down
2 changes: 1 addition & 1 deletion src/peg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! The algorithm works by adding edge by edge to the Tanner graph. For each
//! symbol node, `wc` check nodes are selected to be joined by edges. Each one
//! is selected in a different step, and the edge is added to the graph, which
//! affects subsequent decissions.
//! affects subsequent decisions.
//!
//! To select an edge for the current symbol node, a breadth-first search is
//! done with that node as the root, in order to find the distance from each of
Expand Down

0 comments on commit 4e3fc10

Please sign in to comment.