Skip to content

Commit c0c8fc6

Browse files
committed
chore: fix typo
Signed-off-by: costcould <fliter@myyahoo.com>
1 parent f166ec5 commit c0c8fc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/microcode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl<Id: SiteId, Cx: CoreExt, const CALL_STACK_SIZE: usize> Core<Id, Cx, CALL_ST
7878
///
7979
/// # Returns
8080
///
81-
/// Boolean indicating wheather complexity limit is reached.
81+
/// Boolean indicating whether complexity limit is reached.
8282
pub fn acc_complexity(&mut self, complexity: u64) -> bool {
8383
self.ca = self.ca.saturating_add(complexity);
8484
self.cl().map(|lim| self.ca >= lim).unwrap_or_default()

0 commit comments

Comments
 (0)