We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a56323 commit 1e9095aCopy full SHA for 1e9095a
crates/ra_ide/src/syntax_highlighting.rs
@@ -339,8 +339,8 @@ impl HighlightedRangeStack {
339
/// can only modify the last range currently on the stack.
340
/// Can be used to do injections that span multiple ranges, like the
341
/// doctest injection below.
342
- /// If `inject` is set to true, the parent range is deleted instead of
343
- /// intersected.
+ /// If `overwrite_parent` is non-optional, the highlighting of the parent range
+ /// is overwritten with the argument.
344
///
345
/// Note that `pop` can be simulated by `pop_and_inject(false)` but the
346
/// latter is computationally more expensive.
0 commit comments