We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b44238e commit 0e663ecCopy full SHA for 0e663ec
lib/yard-rustdoc/statements.rb
@@ -73,6 +73,8 @@ def name
73
return $1.strip if docstring =~ /^@rename\s*(.+)/
74
75
@rustdoc["attrs"].each do |attr|
76
+ attr = attr["other"] if attr.is_a?(Hash) # JSON rustdoc FORMAT_VERSION v54
77
+
78
next unless attr.include?("magnus")
79
80
# Extract class name from magnus attrs that define classes such as:
test/samples/example-ext/rustdoc/v56.json
0 commit comments