Skip to content

Commit 4de5ee3

Browse files
authored
SRC/BINDINGS/RUST: Revert has_overlaps to pub (#400)
1 parent e99bd98 commit 4de5ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bindings/rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ impl<'a> XferDescList<'a> {
403403
}
404404

405405
/// Returns true if any descriptors in the list overlap
406-
fn has_overlaps(&self) -> Result<bool, NixlError> {
406+
pub fn has_overlaps(&self) -> Result<bool, NixlError> {
407407
let mut has_overlaps = false;
408408
let status =
409409
unsafe { nixl_capi_xfer_dlist_has_overlaps(self.inner.as_ptr(), &mut has_overlaps) };

0 commit comments

Comments
 (0)