Skip to content

Commit

Permalink
Fix typo: nore -> node
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov authored Dec 5, 2023
1 parent f344ca9 commit ae0cfa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ https://github.com/KirillOsenkov/XmlParser/blob/master/src/Microsoft.Language.Xm
SyntaxLocator.FindNode(SyntaxNode node, int position);
```

### How to replace a nore in the tree
### How to replace a node in the tree

```csharp
var original = """
Expand Down Expand Up @@ -80,4 +80,4 @@ XmlTextSyntax content = SyntaxFactory.XmlText(SyntaxFactory.XmlTextLiteralToken(
root = root.ReplaceNode(textSyntaxToReplace, content);

Assert.Equal(expected, root.ToFullString());
```
```

0 comments on commit ae0cfa0

Please sign in to comment.