Skip to content

Commit 856fd72

Browse files
committed
refactor: Remove unneeded must_use attribute
1 parent 02d1bcb commit 856fd72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/c.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ use crate::error::PointerError;
2020
/// # Errors
2121
///
2222
/// If the C string is not a valid UTF-8 string.
23-
#[must_use]
2423
#[inline]
2524
pub unsafe fn ref_str<'a>(string: *const c_char) -> Result<&'a str, PointerError> {
2625
// ATTENTION! 'a lifetime is required, does NOT REMOVE it

0 commit comments

Comments
 (0)