Skip to content

Commit

Permalink
Revert accidental change to Rust outline files (#21545)
Browse files Browse the repository at this point in the history
Release Notes:

- Preview only: Fixed impl blocks in the rust outline view
  • Loading branch information
ConradIrwin authored Dec 4, 2024
1 parent 7cfc972 commit 44264ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/languages/src/rust/outline.scm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
(visibility_modifier)? @context
name: (_) @name) @item

(function_item
(impl_item
"impl" @context
trait: (_)? @name
"for"? @context
type: (_) @name
body: (_ "{" @open (_)* "}" @close)) @item

(trait_item
Expand Down

0 comments on commit 44264ff

Please sign in to comment.