mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-12 01:43:05 +00:00
Use new array syntax
This commit is contained in:
@@ -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)]) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user