Skip to content

Commit 39d4456

Browse files
committed
Merge branch 'maint' into 'master'
Maintenance update See merge request mkjeldsen/commitmsgfmt!88
2 parents 164625b + b7b4b84 commit 39d4456

File tree

3 files changed

+48
-24
lines changed

3 files changed

+48
-24
lines changed

Cargo.lock

Lines changed: 43 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ edition = "2021"
1212
rust-version = "1.63.0"
1313

1414
[dependencies]
15-
unicode-segmentation = "1.10.1"
15+
unicode-segmentation = "1.12.0"
1616
encoding = "0.2.33"
1717

1818
[dev-dependencies]
19-
pretty_assertions = "1.4.0"
20-
rand = "0.8.5"
19+
pretty_assertions = "1.4.1"
20+
rand = "0.9.1"

src/worditer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ mod tests {
116116
use super::*;
117117

118118
use pretty_assertions::assert_eq;
119-
use rand::seq::SliceRandom;
119+
use rand::prelude::*;
120120

121121
type Item<'text> = <WordIter<'text> as Iterator>::Item;
122122

@@ -135,7 +135,7 @@ mod tests {
135135
fn some_comment_string() -> String {
136136
let some_comment_strings = ["#", ";", "!", "%"].map(|c| c.to_string());
137137
some_comment_strings
138-
.choose(&mut rand::thread_rng())
138+
.choose(&mut rand::rng())
139139
.unwrap()
140140
.clone()
141141
}

0 commit comments

Comments
 (0)