Skip to content

Commit

Permalink
lint+bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Mar 7, 2023
1 parent 809f75a commit 917e7ca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backpack/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "backpack"
version = "2.1.0"
version = "2.1.1"
edition = "2021"


Expand Down
4 changes: 2 additions & 2 deletions backpack/src/shortlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ lazy_static! {
static ref RE_VENDOR: Regex = Regex::new(r"^([a-zA-Z0-9_-]+):(.+)$").unwrap();
}

fn expand<'a>(
fn expand(
shortlink: &str,
is_git: bool,
vendors: &'a Vendors<'_>,
vendors: &Vendors<'_>,
) -> AnyResult<(Box<dyn Vendor>, Location)> {
let res = if shortlink.starts_with("https://") {
//https://github.com/jondot/hygen/-/foobar
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn main() -> Result<(), anyhow::Error> {
let res = match matches.subcommand() {
Some(("coverage", sm)) => tasks::coverage(sm.is_present("dev")),
Some(("vars", _)) => {
println!("root: {:?}", root);
println!("root: {root:?}");
Ok(())
}
Some(("ci", _)) => tasks::ci(),
Expand Down

0 comments on commit 917e7ca

Please sign in to comment.