Skip to content

Commit bca8f30

Browse files
committedJul 9, 2024·
Fixes lingering references to Resolution::Package
1 parent c5a3b50 commit bca8f30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/main.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ fn main() {
2424
match resolution {
2525
Ok(res) => {
2626
match res {
27-
Resolution::Package(p, subpath) => {
27+
Resolution::Resolved(p, subpath) => {
2828
println!("result = Package ({:?}, {:?})", p, subpath);
2929
}
30-
Resolution::Specifier(specifier) => {
31-
println!("result = Specifier ({})", specifier);
30+
Resolution::Skipped => {
31+
println!("result = Skipped");
3232
}
3333
}
3434
}

0 commit comments

Comments
 (0)
Please sign in to comment.