Skip to content

Commit

Permalink
Replace a few left-over occurrences of "Class"
Browse files Browse the repository at this point in the history
Changelog: changed
  • Loading branch information
yorickpeterse committed Feb 12, 2025
1 parent d40a602 commit 469f79e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const KINDS = [
{ text: 'Module', color: 'purple' },
{ text: 'Constant', color: 'green' },
{ text: 'Class', color: 'yellow' },
{ text: 'Type', color: 'yellow' },
{ text: 'Trait', color: 'yellow' },
{ text: 'Method', color: 'blue' },
{ text: 'Field', color: 'green' },
Expand Down
6 changes: 3 additions & 3 deletions src/idoc/page/search.inko
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import wobsite (Files)
type enum Kind {
case Module
case Constant
case Class
case Type
case Trait
case ModuleMethod
case Method
Expand All @@ -23,7 +23,7 @@ impl ToInt for Kind {
match self {
case Module -> 0
case Constant -> 1
case Class -> 2
case Type -> 2
case Trait -> 3
case ModuleMethod or Method -> 4
case Field -> 5
Expand Down Expand Up @@ -91,7 +91,7 @@ type Symbol {
symbols.push(
recover {
Symbol(
kind: Kind.Class,
kind: Kind.Type,
scope: mname.name,
name: c.name,
link: mname.symbol_link(c.name),
Expand Down

0 comments on commit 469f79e

Please sign in to comment.