summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/text/reader.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-08-21 06:39:14 +0000
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2023-08-21 17:17:57 +0200
commit3ee69cc0d3ca7a3f58549adaff1c05e0d9f14ae2 (patch)
treea5cb15b3aa5aef721e0f986afa6e27f88ba4c9ba /vendor/github.com/yuin/goldmark/text/reader.go
parent[feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs... (diff)
downloadgotosocial-3ee69cc0d3ca7a3f58549adaff1c05e0d9f14ae2.tar.xz
[chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)
Diffstat (limited to 'vendor/github.com/yuin/goldmark/text/reader.go')
-rw-r--r--vendor/github.com/yuin/goldmark/text/reader.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/yuin/goldmark/text/reader.go b/vendor/github.com/yuin/goldmark/text/reader.go
index d43690a19..b3f97fb56 100644
--- a/vendor/github.com/yuin/goldmark/text/reader.go
+++ b/vendor/github.com/yuin/goldmark/text/reader.go
@@ -76,7 +76,7 @@ type Reader interface {
FindClosure(opener, closer byte, options FindClosureOptions) (*Segments, bool)
}
-// FindClosureOptions is options for Reader.FindClosure
+// FindClosureOptions is options for Reader.FindClosure.
type FindClosureOptions struct {
// CodeSpan is a flag for the FindClosure. If this is set to true,
// FindClosure ignores closers in codespans.
@@ -154,7 +154,7 @@ func (r *reader) PeekLine() ([]byte, Segment) {
return nil, r.pos
}
-// io.RuneReader interface
+// io.RuneReader interface.
func (r *reader) ReadRune() (rune, int, error) {
return readRuneReader(r)
}
@@ -354,7 +354,7 @@ func (r *blockReader) Value(seg Segment) []byte {
return ret
}
-// io.RuneReader interface
+// io.RuneReader interface.
func (r *blockReader) ReadRune() (rune, int, error) {
return readRuneReader(r)
}