diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-01-10 15:40:20 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-01-10 15:41:32 -0800 |
| commit | e98f11b27df25e8497fc8a61e2290a2e536171fc (patch) | |
| tree | 0be9e053399e5bd9cf8d7e18ae2dee077797f118 /src/test | |
| parent | 080ee6f5d7e262b1c5fd51a0bdac62b62d0ee546 (diff) | |
| download | rust-e98f11b27df25e8497fc8a61e2290a2e536171fc.tar.gz rust-e98f11b27df25e8497fc8a61e2290a2e536171fc.zip | |
rustdoc: Remove `*` intra-doc alias for `pointer`
It's not valid Rust code and it can easily be confused with a wildcard glob pattern or something else. People can always use `pointer` instead, so it's just removing an alias. It hasn't hit stable yet (I think it's still on nightly), so it's okay to remove it. (We can always add it back later if we change our mind too.)
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc/intra-doc/non-path-primitives.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/rustdoc/intra-doc/non-path-primitives.rs b/src/test/rustdoc/intra-doc/non-path-primitives.rs index ad4f6ddd9de..a409744e409 100644 --- a/src/test/rustdoc/intra-doc/non-path-primitives.rs +++ b/src/test/rustdoc/intra-doc/non-path-primitives.rs @@ -11,11 +11,9 @@ // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null"]' 'pointer::is_null' // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null"]' '*const::is_null' // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null"]' '*mut::is_null' -// @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null"]' '*::is_null' //! [pointer::is_null] //! [*const::is_null] //! [*mut::is_null] -//! [*::is_null] // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.unit.html"]' 'unit' //! [unit] |
