Skip to content

Commit 1612b43

Browse files
vignazommiommy
authored andcommitted
Tweaking
1 parent e953334 commit 1612b43

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dsi-progress-logger = "0.8.1"
1414
sux = "0.7.2"
1515
common_traits = "0.11.2"
1616
lender = "0.3.1"
17-
value-traits = "0.1.3"
1817
log = "0.4.22"
1918
num_cpus = "1.16.0"
2019
anyhow = { version = "1.0.79", features = ["backtrace"] }
@@ -35,6 +34,7 @@ arbitrary = { version = "1.3.2", features = ["derive"] }
3534
serde = { version = "1.0.217", features = ["serde_derive"] }
3635
serde_json = "1.0.137"
3736
zstd = "0.13"
37+
value-traits = "0.1.3"
3838

3939
[profile.release]
4040
opt-level = 3 # like --release

webgraph/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ dsi-progress-logger.workspace = true
3333
log.workspace = true
3434
sux.workspace = true
3535
common_traits.workspace = true
36-
value-traits.workspace = true
3736
lender.workspace = true
38-
37+
value-traits.workspace = true
3938
rand.workspace = true
4039
tempfile.workspace = true
4140
itertools.workspace = true

webgraph/src/graphs/csr_graph.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ pub struct CsrGraph<DCF = Vec<usize>, S = Vec<usize>> {
3939
}
4040

4141
impl<DCF, S> CsrGraph<DCF, S> {
42-
/// Creates a new CSR graph from the given degree-cumulative function and successors.
42+
/// Creates a new CSR graph from the given degree-cumulative function and
43+
/// successors.
4344
///
4445
/// # Safety
45-
/// The degree-cumulative function must be monotone and coherent with the successors.
46+
/// The degree-cumulative function must be monotone and coherent with the
47+
/// successors.
4648
pub unsafe fn from_parts(dcf: DCF, successors: S) -> Self {
4749
Self { dcf, successors }
4850
}

0 commit comments

Comments
 (0)