Skip to content

Commit fef2c62

Browse files
authored
vk/prelude: Drop upstream-fixed Self:: doc workaround (#648)
The report at rust-lang/rust#93205 was closed as it has presumably been fixed in rust-lang/rust#93805 which has long trickled down into stable releases, and I cannot reproduce the issue on `1.62.1` anymore (latest stable as of writing) 🎉 This workaround was originally added in #559.
1 parent b093e67 commit fef2c62

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ash/src/vk/prelude.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ impl Packed24_8 {
2929
}
3030
}
3131

32-
// Intradoc `Self::` links refuse to resolve if `ColorComponentFlags`
33-
// isn't directly in scope: https://github.com/rust-lang/rust/issues/93205
34-
use vk::ColorComponentFlags;
35-
36-
impl ColorComponentFlags {
32+
impl vk::ColorComponentFlags {
3733
/// Contraction of [`R`][Self::R] | [`G`][Self::G] | [`B`][Self::B] | [`A`][Self::A]
3834
pub const RGBA: Self = Self(Self::R.0 | Self::G.0 | Self::B.0 | Self::A.0);
3935
}

0 commit comments

Comments
 (0)