mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-27 03:07:27 -08:00
Fix typeo
This commit is contained in:
parent
717818789e
commit
9e9b36335a
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ pub trait TokenBucket {
|
|||
/// Get the amount of capcaity available in the bucket.
|
||||
/// # Returns
|
||||
/// a float representing the amount of capacity available in the bucket from 1.0 to 0.0.
|
||||
/// returns -1.0 if wer're at least one reuqest into our burst capacity.
|
||||
/// returns -1.0 if wer're at least one request into our burst capacity.
|
||||
fn get_capacity(&self) -> f32;
|
||||
|
||||
/// Get the duration til the next available token, or None if a token
|
||||
|
|
Loading…
Reference in a new issue