Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: ``` error[E0308]: mismatched types --> libcnb-package/src/cargo.rs:51:26 | 51 | target.kind.contains(&String::from("bin")) | -------- ^^^^^^^^^^^^^^^^^^^^ expected `&TargetKind`, found `&String` | | | arguments to this method are incorrect | = note: expected reference `&cargo_metadata::TargetKind` found reference `&std::string::String` ``` Due to: oli-obk/cargo_metadata#258 However, we can use this simpler API instead: https://docs.rs/cargo_metadata/latest/cargo_metadata/struct.Target.html#method.is_bin
- Loading branch information