Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/iroha_ffi_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pub fn ffi(input: TokenStream) -> TokenStream {
}

// TODO: ffi_type(`local`) is a workaround for https://github.com/rust-lang/rust/issues/48214
// because some derived types cannot derive `NonLocal` othwerise. Should be removed in future
// because some derived types cannot derive `NonLocal` otherwise. Should be removed in future
/// Derive implementations of traits required to convert to and from an FFI-compatible type
///
/// # Attributes
Expand Down Expand Up @@ -173,7 +173,7 @@ pub fn ffi(input: TokenStream) -> TokenStream {
/// NOTE: This attribute is likely to be removed in future versions
///
/// * `#[ffi_type(unsafe {robust_non_owning})]`
/// when a type contains a raw pointer (e.g. `*const T`/*mut T`) it's not possible to figure out
/// when a type contains a raw pointer (e.g. `*const T`/`*mut T`) it's not possible to figure out
/// whether it carries ownership of the data pointed to. Place this attribute on the field to
/// indicate pointer doesn't own the data and is robust in the type. Alternatively, if the type
/// is carrying ownership mark entire type as opaque with `#[ffi_type(opaque)]`. If the type
Expand Down