Skip to content

Commit 0b8c95b

Browse files
committed
fix warning
1 parent 26da219 commit 0b8c95b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎libcc2rs/src/cstr.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl<T: CChar> Ptr<T> {
331331
#[cfg(test)]
332332
mod tests {
333333
use super::*;
334-
use crate::{AsPointer, Decay};
334+
use crate::Decay;
335335

336336
// "ab\0cd\0": C string functions must stop at the first NUL.
337337
const EMBEDDED_NUL: [u8; 6] = [b'a', b'b', 0, b'c', b'd', 0];

0 commit comments

Comments
 (0)