diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-04 10:03:40 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-04 14:15:19 +1000 |
| commit | 9f16362ab4c584aa737b68326c9859a07293113a (patch) | |
| tree | 0b8f7b221e7faa3fb3960bafd00ab44059809414 /tests/rustdoc-json/unions | |
| parent | c6fb703c05a47a7f20c59c5315fe704c536084d0 (diff) | |
| download | rust-9f16362ab4c584aa737b68326c9859a07293113a.tar.gz rust-9f16362ab4c584aa737b68326c9859a07293113a.zip | |
rustfmt `tests/rustdoc-json/`.
Diffstat (limited to 'tests/rustdoc-json/unions')
| -rw-r--r-- | tests/rustdoc-json/unions/impl.rs | 2 | ||||
| -rw-r--r-- | tests/rustdoc-json/unions/union.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/rustdoc-json/unions/impl.rs b/tests/rustdoc-json/unions/impl.rs index 7456892df1b..1515f7d9397 100644 --- a/tests/rustdoc-json/unions/impl.rs +++ b/tests/rustdoc-json/unions/impl.rs @@ -4,7 +4,7 @@ // @has "$.index[*][?(@.name=='Ux')].inner.union" pub union Ux { a: u32, - b: u64 + b: u64, } // @is "$.index[*][?(@.name=='Num')].visibility" \"public\" diff --git a/tests/rustdoc-json/unions/union.rs b/tests/rustdoc-json/unions/union.rs index 22b70e1ce8c..1089d9c4558 100644 --- a/tests/rustdoc-json/unions/union.rs +++ b/tests/rustdoc-json/unions/union.rs @@ -7,7 +7,6 @@ pub union Union { float: f32, } - // @has "$.index[*][?(@.name=='make_int_union')].inner.function.decl.output.resolved_path" // @is "$.index[*][?(@.name=='make_int_union')].inner.function.decl.output.resolved_path.id" $Union pub fn make_int_union(int: i32) -> Union { |
