File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ pub(crate) struct TreeSitterConfig {
36
36
/// ignore their children.
37
37
///
38
38
/// Difftastic only cares about list delimiters and atom
39
- /// contents. This ensures that "x" and " x" are different, but
40
- /// [x] and [ x] are not.
39
+ /// contents. This ensures that ` "x"` and ` " x"` are different,
40
+ /// but ` [x]` and ` [ x]` are not.
41
41
///
42
42
/// This causes problems for tree-sitter grammars that have more
43
43
/// complex structure for literals. If string interpolation
44
44
/// produces an AST with a separate interpolation node, difftastic
45
- /// will think that "$x" and " $x" are the same, because the atom
46
- /// is just $x and the delimiter is " .
45
+ /// will think that ` "$x"` and ` " $x"` are the same, because the atom
46
+ /// is just `$x` and the delimiter is `"` .
47
47
///
48
48
/// This problem also occurs when the tree-sitter AST is missing
49
49
/// some children. This is known limitation of tree-sitter, and
You can’t perform that action at this time.
0 commit comments