Skip to content

Commit bc39f8f

Browse files
author
Ian
committed
added bounded to uindex type
1 parent dd35105 commit bc39f8f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "single-utilities"
3-
version = "0.8.2"
3+
version = "0.8.3"
44
edition = "2024"
55
description = "This crate provdes types, traits and utility functions to the single-rust ecosystem that can be universally used. You can also use it within your own ecosystem 👀"
66
homepage = "https://singlerust.com"
@@ -14,4 +14,4 @@ simd = ["dep:simba"]
1414

1515
[dependencies]
1616
num-traits = "0.2.19"
17-
simba = {version = "0.9.0", optional = true}
17+
simba = { version = "0.9.0", optional = true }

src/traits/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ impl<T: Default + Clone> ZeroVec for Vec<T> {
8686
}
8787

8888
pub trait UIndex:
89-
Unsigned + Zero + One + Copy + PartialEq + PartialOrd + From<usize> + Into<usize>
89+
Unsigned + Zero + One + Copy + PartialEq + PartialOrd + From<usize> + Into<usize> + Bounded
9090
{
9191
}
9292

93-
impl<I: Unsigned + Zero + One + Copy + PartialEq + PartialOrd + From<usize> + Into<usize>> UIndex
94-
for I
93+
impl<I: Unsigned + Zero + One + Copy + PartialEq + PartialOrd + From<usize> + Into<usize> + Bounded>
94+
UIndex for I
9595
{
9696
}
9797

0 commit comments

Comments
 (0)