diff --git a/node-graph/graph-craft/src/proto.rs b/node-graph/graph-craft/src/proto.rs index 1c82439a25..516e72da46 100644 --- a/node-graph/graph-craft/src/proto.rs +++ b/node-graph/graph-craft/src/proto.rs @@ -1041,7 +1041,6 @@ fn valid_type(from: &Type, to: &Type) -> bool { // Graphite doesn't have subtyping currently, but it used to have it, and may do so again, so we make sure to compare types in this way to make things easier. // More details explained here: (Type::Fn(in1, out1), Type::Fn(in2, out2)) => valid_type(out2, out1) && valid_type(in1, in2), - // A lend input is substitutable exactly when the lent values are. // A record input is substitutable exactly when the elements are. (Type::Record(in1), Type::Record(in2)) => valid_type(in1, in2), // If either the proposed input or the allowed input are generic, we allow the substitution (meaning this is a valid subtype). diff --git a/node-graph/libraries/core-types/src/node.rs b/node-graph/libraries/core-types/src/node.rs index 3c687a6785..38132bf520 100644 --- a/node-graph/libraries/core-types/src/node.rs +++ b/node-graph/libraries/core-types/src/node.rs @@ -212,8 +212,7 @@ impl<'a, T> Deref for Lane<'a, T> { } /// A materialized nesting level handed to a folding kernel: a thin element-typed -/// view over the [`RecordBatch`] the level was collected into. The eventual -/// `List` once `IList` is renamed. +/// view over the [`RecordBatch`] the level was collected into. #[derive(Debug)] pub struct List<'a, T> { batch: RecordBatch<'a>, diff --git a/node-graph/libraries/core-types/src/record/run.rs b/node-graph/libraries/core-types/src/record/run.rs index 31f5795ea0..f2f34b6127 100644 --- a/node-graph/libraries/core-types/src/record/run.rs +++ b/node-graph/libraries/core-types/src/record/run.rs @@ -480,8 +480,7 @@ impl crate::bounds::Bo /// Records nested inside one element: a single homogeneous run. The `row` /// holds the group's own attribute record. A group that sits on a lane leaves -/// it `None`, because that lane's record carries the attributes. The typed -/// segment stack returns when merge constructs segments. +/// it `None`, because that lane's record carries the attributes. #[derive(Clone, Debug)] pub struct Group<'e> { pub row: Option>, diff --git a/node-graph/node-macro/src/codegen.rs b/node-graph/node-macro/src/codegen.rs index 4f206255ad..b8e8d5a3f4 100644 --- a/node-graph/node-macro/src/codegen.rs +++ b/node-graph/node-macro/src/codegen.rs @@ -1399,8 +1399,7 @@ pub(crate) fn generate_node_impl(crate_ident: &CrateIdent, parsed: &ParsedNodeFn } } // A flip value or a routing non-source value rides a record input; the - // element copies out into `name`. The mark/rewind that reclaims the - // record's frame is applied by the step lowering (see `reads_out`). + // element copies out into `name`. ValueBinding::RecordElement => { let slot = format_ident!("__in_{index}"); quote! { diff --git a/node-graph/nodes/gcore/src/record.rs b/node-graph/nodes/gcore/src/record.rs index ba85a36ac7..2425e5ca65 100644 --- a/node-graph/nodes/gcore/src/record.rs +++ b/node-graph/nodes/gcore/src/record.rs @@ -171,8 +171,7 @@ fn extend_extent(base: ExtentIn<'_>, new: ExtentIn<'_>, level: LevelIn) -> GPoll } } -/// The layer-path stamp: the flip-time replacement for the Merge -/// subnetwork's named attribute write. +/// The layer-path stamp: writes the owning layer's document node path on each lane. #[node_macro::node(category("Test"))] fn stamp_layer_path<'e, T>(ctx: impl Ctx + ExtractArena<'e>, element: T, path: Vec) -> Result<(T, Attr<'e, EditorLayerPath>), Interrupt> { let (parked, _) = ctx.arena().alloc(path).ok_or(GraphError {