Commit 26f35a4b authored by ysaito1001's avatar ysaito1001
Browse files

Fix API doc for `capacity` of `TokenBucketBuilder`

parent 264bb49d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ impl TokenBucketBuilder {
        Self::default()
    }

    /// Sets the specified initial capacity for the builder.
    /// Sets the maximum bucket capacity for the builder.
    pub fn capacity(mut self, capacity: usize) -> Self {
        self.capacity = Some(capacity);
        self