We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c555e4c commit f74cc17Copy full SHA for f74cc17
1 file changed
src/ffi/mod.rs
@@ -222,8 +222,8 @@ mod tests {
222
i32::try_from(original_bytes.len() - 1).unwrap()
223
}
224
225
- // SAFETY: snprintf closure is indeed an snprintf-like function
226
assert!(
+ // SAFETY: snprintf closure is indeed an snprintf-like function
227
unsafe { call_snprintf(|buf, len| snprintf(buf, len)) }
228
.iter()
229
.copied()
0 commit comments