Skip to content

Commit

Permalink
Fix diagram typos
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed Jun 7, 2018
1 parent fe7d1cb commit cdfbbe5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct Server {
}

impl Server {
/// Create a server instance acting as leader.
/// Create a server instance acting as a leader.
///
/// ```text
/// .---------------------.
Expand Down Expand Up @@ -97,11 +97,11 @@ impl Server {
Server { thread_hdls }
}

/// Create a server instance acting as validator.
/// Create a server instance acting as a validator.
///
/// ```text
/// .-------------------------------.
/// | Validator |
/// | Validator |
/// | |
/// .--------. | .-----. |
/// | |-------------->| | |
Expand All @@ -116,7 +116,7 @@ impl Server {
/// | ^ |
/// .--------. | | | .------------.
/// | | | .-----. .--+--. .-----. | | |
/// | Leader |----| NCP +-->| TVU +-->| NCP +------>| Validators |
/// | Leader |--->| NCP +-->| TVU +-->| NCP +------>| Validators |
/// | | | `-----` `-----` `-----` | | |
/// `--------` | | `------------`
/// `-------------------------------`
Expand Down

0 comments on commit cdfbbe5

Please sign in to comment.