yard-rustdoc 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/yard-rustdoc/statements.rb +4 -4
- data/lib/yard-rustdoc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4967b9c11e8b1ae8ee17256f03033e05312d501c80c0d7b064b406be63b5855d
|
|
4
|
+
data.tar.gz: 43b2bd77f9fc7c99ec64ae6d499c55fbf9882cbe65a9d550b08cf03ea2c7bf55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0433a034cdf09fe3187b4d206bc857353ee79e56177908157c9c894b5149dc9433f1676ab06dbd7b524fb7a803c4ec5e4072a9f4846e7c995600382f29253fc8
|
|
7
|
+
data.tar.gz: 258f273a75c1ed52c12a8718641e6ae459acf0d45edba16826d7903d39072e55f4b23bf6fa27fd9f6920a19c9728a1d4f7383c013e7571b45a95d3ff59ac42b6
|
|
@@ -55,6 +55,10 @@ module YARD::Parser::Rustdoc
|
|
|
55
55
|
def line_index_range
|
|
56
56
|
(@rustdoc.dig("span", "begin", 0) - 1)..@rustdoc.dig("span", "end", 0)
|
|
57
57
|
end
|
|
58
|
+
|
|
59
|
+
def rust_docstring
|
|
60
|
+
@rustdoc.fetch("docs")
|
|
61
|
+
end
|
|
58
62
|
end
|
|
59
63
|
|
|
60
64
|
class Struct < Base
|
|
@@ -88,10 +92,6 @@ module YARD::Parser::Rustdoc
|
|
|
88
92
|
YARD::CodeObjects::ClassObject
|
|
89
93
|
end
|
|
90
94
|
end
|
|
91
|
-
|
|
92
|
-
def rust_docstring
|
|
93
|
-
@rustdoc.fetch("docs")
|
|
94
|
-
end
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
class Method < Base
|
data/lib/yard-rustdoc/version.rb
CHANGED