Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Sep 12, 2024
1 parent 716577c commit 39246e7
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 39246e7

Please sign in to comment.