Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

RFC: MAM Trits module #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

semenov-vladyslav
Copy link

No description provided.

/// All-zero trits word.
fn zero() -> Self;
/// Copy `n` trits from `(dx,x)` slice into `(dy,y)`.
fn unsafe_copy(n: usize, dx: usize, x: *const Self, dy: usize, y: *mut Self);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these methods are same as what unsafe in Rust, we can make these unsafe fn. Probably will need to state why they are unsafe in documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants