Skip to content

Commit 80dda7d

Browse files
committed
scalar or vector: fix unused import without docs
1 parent 7554b01 commit 80dda7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/spirv-std/src/scalar_or_vector.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{Scalar, Vector};
1+
use crate::Scalar;
22
use core::num::NonZeroUsize;
33

44
pub(crate) mod sealed {
@@ -11,6 +11,8 @@ pub(crate) mod sealed {
1111
///
1212
/// # Safety
1313
/// Your type must also implement [`Scalar`] or [`Vector`], see their safety sections as well.
14+
///
15+
/// [`Vector`]: crate::Vector
1416
pub unsafe trait ScalarOrVector: Copy + Default + Send + Sync + 'static {
1517
/// Either the scalar component type of the vector or the scalar itself.
1618
type Scalar: Scalar;

0 commit comments

Comments
 (0)