mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-27 22:13:12 -08:00
chore: Final improvements on the to crate API doc
This commit is contained in:
committed by
David Niehues
parent
0353c82729
commit
00696321ff
@@ -24,7 +24,7 @@ where
|
|||||||
T: BitXorAssign + Clone,
|
T: BitXorAssign + Clone,
|
||||||
{
|
{
|
||||||
// Custom implementations of the to trait can be created, but the easiest
|
// Custom implementations of the to trait can be created, but the easiest
|
||||||
// way to create them is to use the provided helper functions like with_destination.
|
// way to create them is to use the provided helper functions like with_destination.
|
||||||
with_destination(move |dst: &mut [T]| {
|
with_destination(move |dst: &mut [T]| {
|
||||||
assert!(src.len() == dst.len());
|
assert!(src.len() == dst.len());
|
||||||
for (d, s) in dst.iter_mut().zip(src.iter()) {
|
for (d, s) in dst.iter_mut().zip(src.iter()) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
//! TODO: Mod docu
|
//! Module that contains the [To] crate which is the container used to
|
||||||
|
//! implement the core functionality of this crate.
|
||||||
|
|
||||||
use crate::{Beside, CondenseBeside};
|
use crate::{Beside, CondenseBeside};
|
||||||
use std::borrow::BorrowMut;
|
use std::borrow::BorrowMut;
|
||||||
|
|||||||
Reference in New Issue
Block a user