chore: Final improvements on the to crate API doc

This commit is contained in:
Karolin Varner
2024-12-18 11:09:26 +01:00
committed by David Niehues
parent 0353c82729
commit 00696321ff
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ where
T: BitXorAssign + Clone,
{
// 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]| {
assert!(src.len() == dst.len());
for (d, s) in dst.iter_mut().zip(src.iter()) {

View File

@@ -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 std::borrow::BorrowMut;