Skip to content

Commit

Permalink
Clean up usage of IntoFFI::_into_ffi()
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoerussell committed Jan 2, 2025
1 parent ecb20e3 commit 5ef9fd4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl IntoFFI<ffi::Edge> for rust::Edge {
#[inline]
fn _into_ffi(self) -> ffi::Edge {
ffi::Edge {
label: IntoFFI::_into_ffi(self.label),
label: self.label._into_ffi(),
node: self.node._into_ffi(),
}
}
Expand Down Expand Up @@ -220,7 +220,7 @@ define_refcell_wrapper! { Cursor {
}

fn label(&self) -> ffi::EdgeLabel {
IntoFFI::_into_ffi(self._borrow_ffi().label())
self._borrow_ffi().label()._into_ffi()
}

fn text_offset(&self) -> ffi::TextIndex {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ef9fd4

Please sign in to comment.