Skip to content

Commit c5f9e8d

Browse files
committed
undo comments
1 parent d0401b1 commit c5f9e8d

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/dag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)]

src/jet/elements/c_env.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
}

src/node/convert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/node/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
///

0 commit comments

Comments
 (0)