mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix clippy lints
This commit is contained in:
parent
379694915e
commit
1ecda8cf4d
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
use crate::backend_proto::links::help_page_link_request::HelpPage;
|
use crate::backend_proto::links::help_page_link_request::HelpPage;
|
||||||
|
|
||||||
static HELP_SITE: &'static str = "https://docs.ankiweb.net/";
|
static HELP_SITE: &str = "https://docs.ankiweb.net/";
|
||||||
|
|
||||||
impl HelpPage {
|
impl HelpPage {
|
||||||
pub fn to_link(self) -> String {
|
pub fn to_link(self) -> String {
|
||||||
|
@ -64,8 +64,8 @@ mod test {
|
||||||
.buffer_unordered(ctx.concurrency())
|
.buffer_unordered(ctx.concurrency())
|
||||||
.collect::<Outcomes>()
|
.collect::<Outcomes>()
|
||||||
.await;
|
.await;
|
||||||
if result.0.len() > 0 {
|
if !result.0.is_empty() {
|
||||||
panic!(result.message());
|
panic!("invalid links found: {}", result.message());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue