Skip to content

Commit

Permalink
Merge branch 'main' into parse_statement
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Sep 12, 2024
2 parents a14ee15 + 39246e7 commit 4d19ab9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion metamath-rs/src/outline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ impl OutlineNode {

/// Build an outline node, with a generic statement address,
/// which is specific to a segment
fn new(name: Token, level: HeadingLevel, segment_id: SegmentId, index: StatementIndex) -> Self {
const fn new(
name: Token,
level: HeadingLevel,
segment_id: SegmentId,
index: StatementIndex,
) -> Self {
OutlineNode {
name,
level,
Expand Down

0 comments on commit 4d19ab9

Please sign in to comment.