File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ pub trait DagLike: Sized {
347347/// with the returned nodes. To correct this, you need to call
348348/// [`PostOrderIterItem::unswap`].
349349///
350- /// To avoid confusion, this structure cannot be directly constructed .
350+ /// To avoid confusion, this structure cannot be directly costructed .
351351/// Instead it is implicit in the [`DagLike::rtl_post_order_iter`]
352352/// method.
353353#[ derive( Clone , Debug ) ]
Original file line number Diff line number Diff line change @@ -192,9 +192,7 @@ pub(super) fn new_tx(
192192 } ;
193193
194194 // Explicitly drop raw_annexes so Rust doesn't try any funny business dropping it early.
195- // Drop raw_inputs first since it contains pointers into raw_annexes and we don't want
196- // them to dangle. (It'd be safe since they're raw pointers, but still bad mojo.)
197- drop ( raw_inputs) ;
195+ // Drop raw_inputs first since it contains pointers into raw_annexes
198196 drop ( raw_annexes) ;
199197 ret
200198}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub enum Hide {
5757/// 4. Finally, the node's data is passed to [`Self::convert_data`], whose job
5858/// it is to compute the cached data for the new node. For `case` combinators
5959/// where one child was pruned, `convert_data` will receive an `assertl` or
60- /// `assertr `, as appropriate, rather than a `case`.
60+ /// `assertl `, as appropriate, rather than a `case`.
6161///
6262/// If any method returns an error, then iteration is aborted immediately and
6363/// the error returned to the caller. If the converter would like to recover
Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ impl<N: Marker> Node<N> {
609609
610610 /// Contruct a node from its constituent parts.
611611 ///
612- /// This method can be used to directly construct a node. It will compute the CMR
612+ /// This method can be used to directly costruct a node. It will compute the CMR
613613 /// automatically based on the value of `inner` but requires that `cached_data`
614614 /// be provided.
615615 ///
You can’t perform that action at this time.
0 commit comments