Skip to content

Commit 981cfe4

Browse files
atezetspenserblack
authored andcommitted
Fix deprecation warnings
1 parent 58a06a4 commit 981cfe4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ features = [
2525
"Win32_System_Console",
2626
]
2727

28-
[dev_dependencies]
28+
[dev-dependencies]
2929
ansi_term = "0.12"
3030
insta = "1"
3131
rspec = "1"

src/customcolors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mod tests {
3030
#[test]
3131
fn main() {
3232
let my_color = CustomColor::new(0, 120, 120);
33-
insta::assert_display_snapshot!("Greetings from Ukraine".custom_color(my_color));
33+
insta::assert_snapshot!("Greetings from Ukraine".custom_color(my_color));
3434
}
3535

3636
#[test]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy