We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f166ec5 commit c0c8fc6Copy full SHA for c0c8fc6
1 file changed
src/core/microcode.rs
@@ -78,7 +78,7 @@ impl<Id: SiteId, Cx: CoreExt, const CALL_STACK_SIZE: usize> Core<Id, Cx, CALL_ST
78
///
79
/// # Returns
80
81
- /// Boolean indicating wheather complexity limit is reached.
+ /// Boolean indicating whether complexity limit is reached.
82
pub fn acc_complexity(&mut self, complexity: u64) -> bool {
83
self.ca = self.ca.saturating_add(complexity);
84
self.cl().map(|lim| self.ca >= lim).unwrap_or_default()
0 commit comments