You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-bpaf/0001-use-correct-import-sta...

26 lines
699 B

From d912d22f5d0c6a430c78c2dff030f5ef5556aa15 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 23 Oct 2024 14:52:49 +0200
Subject: [PATCH] use correct import statement to fix compilation of tests
---
src/tests.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests.rs b/src/tests.rs
index ce7ef76..8dc85ab 100644
--- a/src/tests.rs
+++ b/src/tests.rs
@@ -85,7 +85,7 @@ fn fallback_with_strange_args_produces_same_results() {
#[test]
fn de_yoda() {
- use bpaf::*;
+ use crate::*;
let parser = construct!(a(short('a').switch()), b(short('b').switch())).to_options();
let r = parser.run_inner(&[]).unwrap();
--
2.47.0