Drop narration and internal asides from comments

This commit is contained in:
Dennis Kobert
2026-09-06 15:59:41 +00:00
parent 6cdab6b95d
commit fbdba0e545
9 changed files with 8 additions and 15 deletions

View File

@@ -381,7 +381,7 @@ attribute! {
/// Maps the unit square `[(0, 0), (1, 1)]` (top-left convention) onto the 'Text' node's
/// text frame in this item's local space. Each item carries the frame relative to its own
/// glyph origin so it survives 'Index Elements' filtering. The Text tool reads this to
/// position its drag cage. Stored as an affine to allow non-axis-aligned frames in the future.
/// position its drag cage.
pub EditorTextFrame("editor:text_frame"): DAffine2;
/// Byte offset where a regex match begins ('Regex Find All' and 'Regex Capture' text nodes).
pub Start("start"): u64;

View File

@@ -285,7 +285,7 @@ pub struct RegistryEntry {
pub io: NodeIOTypes,
pub constructor: NodeConstructor,
/// Declarative record-io metadata for the compiler layout pass; `None` for
/// nodes whose layout the pass does not yet fold (routing/opaque, hand-written
/// nodes whose layout the pass does not fold (routing/opaque, hand-written
/// rows), which keep the construction-time path.
pub layout_meta: Option<crate::record::LayoutMeta>,
}

View File

@@ -238,8 +238,7 @@ impl_tuple!(A, B, C, D, E);
impl_tuple!(A, B, C, D, E, F);
/// rustc-hash's polynomial hash with the state pinned to u64, so keys match across native and wasm targets.
/// The state starts at a nonzero seed: zero-initialized fx absorbs leading zero words, which produced
/// a real wrong-value memo hit in the prototype.
/// The state starts at a nonzero seed, since zero-initialized fx absorbs leading zero words.
#[derive(Clone)]
pub struct FxHasher64 {
hash: u64,

View File

@@ -200,7 +200,7 @@ fn flatten_graphic_list<T>(content: List<Graphic>, extract_variant: fn(Graphic)
flatten_recursive(output, sub_list, extract_variant, lane_layer_path.as_deref());
}
// A bridge row's native group flattens through its legacy lowering; the arm dies with the legacy interior.
// A bridge row's native group flattens through its legacy lowering.
Graphic::Group(group) => {
let lowered = List::new_from_item(Item::from_parts(group_to_legacy_graphic(&group), attributes.clone()));
flatten_recursive(output, lowered, extract_variant, parent_layer_path);