mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-01 15:28:22 -04:00
Use new array syntax
This commit is contained in:
parent
777f92a3f1
commit
182f24846b
7 changed files with 20 additions and 23 deletions
|
@ -8,5 +8,5 @@ internal record LinkNode(string Url, IReadOnlyList<MarkdownNode> Children)
|
|||
IContainerNode
|
||||
{
|
||||
public LinkNode(string url)
|
||||
: this(url, new[] { new TextNode(url) }) { }
|
||||
: this(url, [new TextNode(url)]) { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue