Skip to content

Commit

Permalink
Docs: fixed small links issue. Related to #3693
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Dec 20, 2016
1 parent ceaeb77 commit 0c9ee1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/doc/type.cr
Expand Up @@ -722,7 +722,7 @@ class Crystal::Doc::Type
end

def type_has_link?(type : Crystal::Type)
@generator.type(type).must_be_included?
@generator.type(type.devirtualize).must_be_included?
end

def type_has_link?(type : Crystal::TypeParameter | ASTNode)
Expand Down

1 comment on commit 0c9ee1f

@makenowjust
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.