160 |
#[allow(clippy::future_not_send)]
|
161 |
async fn send_request(
|
65 |
#[allow(clippy::future_not_send)] // 3rd party library doesn't implement `Send`
|
66 |
async fn actual_main(cli_app: Ferium) -> Result<()> {
|
27 |
#[allow(clippy::future_not_send)] // 3rd party library doesn't implement `Send`
|
28 |
pub async fn upgrade(modrinth: &Ferinth, curseforge: &Furse, modpack: &'_ Modpack) -> Result<()> {
|
322 |
/// check using `health_check` on the current status of the application.
|
323 |
#[allow(clippy::future_not_send)]
|
324 |
pub async fn actor<RT, H, E>(
|
51 |
/// This future is not `Send` due to [`git_config`] internals.
|
52 |
#[allow(clippy::future_not_send)]
|
53 |
pub async fn from_origin(path: impl AsRef<Path> + Send) -> (Vec<IgnoreFile>, Vec<Error>) {
|
202 |
/// This future is not `Send` due to [`git_config`] internals.
|
203 |
#[allow(clippy::future_not_send)]
|
204 |
pub async fn from_environment(appname: Option<&str>) -> (Vec<IgnoreFile>, Vec<Error>) {
|
328 |
/// This is mostly an internal function, but it is exposed for other filterers to use.
|
329 |
#[allow(clippy::future_not_send)]
|
330 |
#[tracing::instrument(skip(files, errors), level = "trace")]
|
418 |
#[allow(clippy::future_not_send)]
|
419 |
pub async fn next(&mut self) -> Visit {
|
427 |
#[allow(clippy::future_not_send)]
|
428 |
#[tracing::instrument(skip(self), level = "trace")]
|
54 |
#[allow(clippy::future_not_send)]
|
55 |
#[get("/{token}/data/{chapter_hash}/{file_name}")]
|
71 |
#[allow(clippy::future_not_send)]
|
72 |
#[get("/{token}/data-saver/{chapter_hash}/{file_name}")]
|
89 |
#[allow(clippy::future_not_send)]
|
90 |
pub async fn default(state: Data<RwLockServerState>, req: HttpRequest) -> impl Responder {
|
127 |
#[allow(clippy::future_not_send, clippy::unused_async)]
|
128 |
#[get("/prometheus")]
|
203 |
#[allow(clippy::future_not_send)]
|
204 |
async fn fetch_image(
|
673 |
#[cfg(test)]
|
674 |
#[allow(clippy::semicolon_if_nothing_returned, clippy::future_not_send)]
|
675 |
mod tests {
|
87 |
#[allow(
|
88 |
clippy::future_not_send,
|
89 |
clippy::too_many_lines,
|
25 |
#[allow(clippy::unused_async, clippy::future_not_send, clippy::too_many_lines)]
|
26 |
pub async fn default(
|
52 |
/// Runs the status bar, producing updates each time there's a change.
|
53 |
#[allow(clippy::future_not_send)]
|
54 |
pub async fn run(&mut self) {
|
879 |
// `StatefulEventLoop` can be constructed only if `S: Send + Sync`
|
880 |
#[allow(clippy::future_not_send)]
|
881 |
pub async fn fetch_username(&mut self) -> Result<(), errors::MethodCall> {
|
134 |
#[cfg(feature = "webhook")]
|
135 |
#[allow(clippy::future_not_send)]
|
136 |
pub async fn build<R>(
|
153 |
#[cfg(not(feature = "webhook"))]
|
154 |
#[allow(clippy::future_not_send)]
|
155 |
pub async fn build<R>(self, bot: R) -> impl UpdateListener<R::Err>
|
50 |
#[allow(clippy::future_not_send)]
|
51 |
#[doc(hidden)]
|
3 |
#[allow(unsafe_code, unreachable_pub, clippy::future_not_send)]
|
4 |
#[no_mangle]
|
106 |
#[allow(clippy::future_not_send)]
|
107 |
#[must_use]
|
50 |
/// Non-path events are always passed.
|
51 |
#[allow(clippy::future_not_send)]
|
52 |
pub async fn new(
|
54 |
#[allow(clippy::future_not_send)]
|
55 |
pub async fn query(
|
412 |
// TODO: fix clippy::future_not_send
|
413 |
#[allow(clippy::future_not_send)]
|
414 |
async fn server_main_loop(
|
526 |
/// Might panic
|
527 |
#[allow(clippy::future_not_send)]
|
528 |
#[tracing::instrument]
|
210 |
/// Might panic
|
211 |
#[allow(clippy::future_not_send)]
|
212 |
#[tracing::instrument]
|
54 |
#![allow(clippy::module_name_repetitions, clippy::future_not_send)]
|
33 |
clippy::exhaustive_enums,
|
34 |
clippy::future_not_send,
|
35 |
clippy::implicit_return,
|
33 |
clippy::exhaustive_enums,
|
34 |
clippy::future_not_send,
|
35 |
clippy::implicit_return,
|
491 |
// TODO: investigate `future_not_send` warning
|
492 |
#![allow(clippy::future_not_send, clippy::module_name_repetitions)]
|
172 |
#![allow(clippy::needless_borrow)]
|
173 |
#![allow(clippy::future_not_send)]
|
174 |
#![allow(clippy::redundant_pub_crate)]
|
49 |
clippy::used_underscore_binding,
|
50 |
clippy::future_not_send,
|
51 |
clippy::return_self_not_must_use
|
20 |
clippy::module_name_repetitions,
|
21 |
clippy::future_not_send,
|
22 |
clippy::missing_const_for_fn,
|
33 |
clippy::exhaustive_enums,
|
34 |
clippy::future_not_send,
|
35 |
clippy::implicit_return,
|
243 |
clippy::used_underscore_binding,
|
244 |
clippy::future_not_send,
|
245 |
clippy::missing_const_for_fn,
|
2 |
#![deny(warnings, clippy::pedantic, clippy::nursery, unused_crate_dependencies)]
|
3 |
#![allow(clippy::future_not_send)]
|
87 |
// Usually intentional
|
88 |
#![allow(clippy::future_not_send)]
|
89 |
// Cleaner in some cases
|
56 |
clippy::used_underscore_binding,
|
57 |
clippy::future_not_send
|
58 |
)]
|
4 |
// so adding `+ Send + Sync` will only make docs too explicit
|
5 |
#![allow(clippy::future_not_send)]
|
8 |
clippy::unused_self,
|
9 |
clippy::future_not_send,
|
10 |
clippy::needless_pass_by_value,
|
1 |
#![deny(rust_2018_idioms)]
|
2 |
#![allow(clippy::missing_const_for_fn, clippy::future_not_send)]
|
9 |
clippy::too_many_lines,
|
10 |
clippy::future_not_send
|
11 |
)]
|
2 |
#![allow(clippy::doc_markdown)]
|
3 |
#![allow(clippy::future_not_send)]
|
4 |
#![allow(clippy::missing_errors_doc)]
|