Skip to content

Commit 2f2ce85

Browse files
committed
Fix other error when lender is not used
1 parent 9744bc1 commit 2f2ce85

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/error.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ pub enum PointerError {
1414
// Obviously, the name is the ref doc.
1515
Null,
1616
/// A pointer that was not previously lent to the FFI user.
17-
#[cfg(all(feature = "std", feature = "lender"))]
1817
Invalid,
1918
/// A pointer previously lent but the type is not the same.
20-
#[cfg(all(feature = "std", feature = "lender"))]
2119
InvalidType,
2220
/// Trying to convert to `&str` a C string which content is not valid UTF-8.
2321
Utf8Error(Utf8Error),

0 commit comments

Comments
 (0)