Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Jul 16, 2024
1 parent 49a5971 commit 5d6817d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn syntax_node_signature_range(
/// // ...
/// }
/// ```
///
///
/// If the specified syntax node is not a function definition or structure
/// definition, returns the range of the syntax node itself.
fn syntax_node_identifier_range(
Expand Down
5 changes: 4 additions & 1 deletion crates/mun_hir/src/line_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,10 @@ mod tests {
line: 1,
col_utf16: 1,
});
assert_eq!(index.text_part(1, 1, text, (end - start).into()), Some("❤️"));
assert_eq!(
index.text_part(1, 1, text, (end - start).into()),
Some("❤️")
);
}

#[test]
Expand Down

0 comments on commit 5d6817d

Please sign in to comment.