aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/extension/typographer.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yuin/goldmark/extension/typographer.go')
-rw-r--r--vendor/github.com/yuin/goldmark/extension/typographer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/extension/typographer.go b/vendor/github.com/yuin/goldmark/extension/typographer.go
index 44c15eb..3a3f106 100644
--- a/vendor/github.com/yuin/goldmark/extension/typographer.go
+++ b/vendor/github.com/yuin/goldmark/extension/typographer.go
@@ -83,7 +83,7 @@ func newDefaultSubstitutions() [][]byte {
}
// SetOption implements SetOptioner.
-func (b *TypographerConfig) SetOption(name parser.OptionName, value interface{}) {
+func (b *TypographerConfig) SetOption(name parser.OptionName, value any) {
switch name {
case optTypographicSubstitutions:
b.Substitutions = value.([][]byte)