doc: Fix typos pointed out by lint-spelling

This commit is contained in:
brunoerg
2022-01-29 19:19:44 -03:00
parent 5b4b8f76f3
commit bad0e7f521
3 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ constexpr auto GetRandMillis = GetRandomDuration<std::chrono::milliseconds>;
* is memoryless and should be used for repeated network events (e.g. sending a
* certain type of message) to minimize leaking information to observers.
*
* The probability of an event occuring before time x is 1 - e^-(x/a) where a
* The probability of an event occurring before time x is 1 - e^-(x/a) where a
* is the average interval between events.
* */
std::chrono::microseconds GetExponentialRand(std::chrono::microseconds now, std::chrono::seconds average_interval);