Fix code comments

This commit is contained in:
Greg Fitzgerald 2018-07-05 13:02:25 -06:00 committed by Greg Fitzgerald
parent d698b3da3a
commit af1a7da0d5
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ pub struct WriteStage {
}
impl WriteStage {
/// Process any Entry items that have been published by the Historian.
/// Process any Entry items that have been published by the RecordStage.
/// continuosly broadcast blobs of entries out
pub fn write_and_send_entries<W: Write>(
entry_writer: &mut EntryWriter<W>,
@ -43,7 +43,7 @@ impl WriteStage {
Ok(())
}
/// Create a new Rpu that wraps the given Bank.
/// Create a new WriteStage for writing and broadcasting entries.
pub fn new<W: Write + Send + 'static>(
bank: Arc<Bank>,
exit: Arc<AtomicBool>,