Skip to content

Commit

Permalink
please Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jensim committed Sep 3, 2021
1 parent ea3ea90 commit 5fcc1c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bitbucket_server_cli"
version = "0.4.1"
version = "0.4.2"
authors = ["Jens Brimfors <jens.brimfors@gmail.se>"]
edition = "2018"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ BitBucket Server Cli
[![Rust audit](https://github.com/jensim/bitbucket_server_cli/workflows/Rust%20audit/badge.svg?branch=main)](https://github.com/jensim/bitbucket_server_cli/actions?query=workflow%3A%22Rust+audit%22)

[![repo dependency status](https://deps.rs/repo/github/jensim/bitbucket_server_cli/status.svg)](https://deps.rs/repo/github/jensim/bitbucket_server_cli)
[![release dependency status](https://deps.rs/crate/bitbucket_server_cli/0.4.1/status.svg)](https://deps.rs/crate/bitbucket_server_cli/0.4.0)
[![release dependency status](https://deps.rs/crate/bitbucket_server_cli/0.4.2/status.svg)](https://deps.rs/crate/bitbucket_server_cli/0.4.2)

[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
![warnings forbidden](https://img.shields.io/badge/warnings-forbidden-success.svg)
Expand Down
2 changes: 1 addition & 1 deletion src/bitbucket/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl BitbucketWorker<'_> {
{
let path = project.get_repos_path();
let projects: Vec<Project> = self.fetch_all_paginated("project", &path).await?;
let repos = get_clone_links(&projects, &self.opts);
let repos = get_clone_links(&projects, self.opts);
Ok(repos)
}

Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ mod test {
co.bitbucket_opts.timeout_sec, 10,
"http timeout was not set correctly"
);
assert_eq!(co.batch_mode, true, "Batch mode should be active");
assert!(co.batch_mode, "Batch mode should be active");
assert_eq!(co.bitbucket_opts.username, Some(String::from("jensim")));
assert_eq!(co.bitbucket_opts.password, Some(String::from("myPass1234")));
}
Expand Down

0 comments on commit 5fcc1c9

Please sign in to comment.