Skip to content

Commit

Permalink
Pre PR cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Apr 8, 2024
1 parent 3cb8be1 commit bf25028
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions style.go
Expand Up @@ -224,7 +224,6 @@ func (s *StyleBuilder) Build() (*Style, error) {
// StyleEntries mapping TokenType to colour definition.
type StyleEntries map[TokenType]string

// FIXME: We don't want this signature to be public
func NewEmbeddedXMLStyle(fs *embed.FS, fileName string) (*Style, error) {
// Check that we can read the file
r, err := fs.Open(fileName)
Expand Down Expand Up @@ -284,8 +283,6 @@ type Style struct {
}

func (s *Style) entries() map[TokenType]StyleEntry {
// FIXME: Does this function need locking?

if s._entries != nil {
return s._entries
}
Expand Down

0 comments on commit bf25028

Please sign in to comment.