diff options
| author | Michael Howell <michael@notriddle.com> | 2023-08-05 11:22:21 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-09-03 13:06:07 -0700 |
| commit | 89a4c7f552558c293b29437b4b79223786f1923d (patch) | |
| tree | a47303c3472f95d62667a2f4497530725c4f385d /tests/rustdoc-js-std | |
| parent | b6bb06ca5d3a5edac2c72549101fd8f932f7bc04 (diff) | |
| download | rust-89a4c7f552558c293b29437b4b79223786f1923d.tar.gz rust-89a4c7f552558c293b29437b4b79223786f1923d.zip | |
rustdoc: bug fix for `-> option<t>`
Diffstat (limited to 'tests/rustdoc-js-std')
| -rw-r--r-- | tests/rustdoc-js-std/option-type-signatures.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/option-type-signatures.js b/tests/rustdoc-js-std/option-type-signatures.js index c5cd6b1d2ef..37bb3b14ab3 100644 --- a/tests/rustdoc-js-std/option-type-signatures.js +++ b/tests/rustdoc-js-std/option-type-signatures.js @@ -72,4 +72,10 @@ const EXPECTED = [ { 'path': 'std::option::Option', 'name': 'flatten' }, ], }, + { + 'query': 'option<t>', + 'returned': [ + { 'path': 'std::result::Result', 'name': 'ok' }, + ], + }, ]; |
