address some new clippy lints
This commit is contained in:
parent
73584cd992
commit
dd99059218
@ -1337,6 +1337,7 @@ mod test {
|
||||
// .unwrap()
|
||||
}
|
||||
|
||||
#[allow(clippy::borrowed_box)]
|
||||
async fn upload_download(ctx: &Box<dyn TestContext>) -> Result<()> {
|
||||
let mut col1 = ctx.col1();
|
||||
col1_setup(&mut col1);
|
||||
@ -1371,6 +1372,7 @@ mod test {
|
||||
// Regular syncs
|
||||
/////////////////////
|
||||
|
||||
#[allow(clippy::borrowed_box)]
|
||||
async fn regular_sync(ctx: &Box<dyn TestContext>) -> Result<()> {
|
||||
// add a deck
|
||||
let mut col1 = ctx.col1();
|
||||
|
@ -115,7 +115,7 @@ mod test {
|
||||
|
||||
// tag children are also cleared when clearing their parent
|
||||
col.storage.clear_all_tags()?;
|
||||
for name in vec!["a", "a::b", "A::b::c"] {
|
||||
for name in &["a", "a::b", "A::b::c"] {
|
||||
col.register_tag(&mut Tag::new(name.to_string(), Usn(0)))?;
|
||||
}
|
||||
col.remove_tags("a")?;
|
||||
|
Loading…
Reference in New Issue
Block a user