mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
chore: fix typos in comments (#5094)
Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
@@ -144,7 +144,7 @@ sim.collectors.add(simDur);
|
||||
```
|
||||
|
||||
The next lines add a single collector to the simulation. The
|
||||
`SimDurationCollector` is a a simple example collector which tracks the total
|
||||
`SimDurationCollector` is a simple example collector which tracks the total
|
||||
duration of the simulation. More generally, a collector is any class that
|
||||
implements `void on(NodeID, SimTime, Event)` for all [Events](./events.h)
|
||||
emitted by a Peer. Events are arbitrary types used to indicate some action or
|
||||
|
||||
@@ -121,7 +121,7 @@ makeSelector(Iter first, Iter last, std::vector<double> const& w, Generator& g)
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Additional distributions of interest not defined in in <random>
|
||||
// Additional distributions of interest not defined in <random>
|
||||
|
||||
/** Constant "distribution" that always returns the same value
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user