Disable on_progress with unchecked.

This commit is contained in:
Stephen Chung
2021-04-25 15:27:58 +08:00
parent ed18b3f32a
commit a5d4a0abb9
5 changed files with 66 additions and 62 deletions

View File

@@ -2105,6 +2105,7 @@ impl Engine {
/// # Ok(())
/// # }
/// ```
#[cfg(not(feature = "unchecked"))]
#[inline(always)]
pub fn on_progress(
&mut self,