-
To avoid a valid lint, we should desugar `FooClientMethods` methods as `async fn foo() -> Result` into `fn foo() -> impl Future` instead.
See for context.
-
### Summary
In the latest nightly, on tokio::test functions, the last assert is flagged with clippy::needless_return
### Reproducer
I tried this code:
```rust
#[tokio::test]
async fn test1() {
…
-
I skimmed through the example and couldn't see that async is supported. Is there a need to add async support? What about the upstream TiKV, does it not support async too? Thank you.
-
![s](https://user-images.githubusercontent.com/18505570/201542587-92424913-2396-4fe6-a95a-24404426accb.png)
Everything else looks fine, but `async fn` is not highlighted
-
The section [Types](https://doc.rust-lang.org/reference/types.html) lists most kinds of types that can exist in a Rust program, but it does not list the types introduced by `async {}` and `async fn`. …
-
We know that our async infrastructure is not the best. It has multiple processes and has some potential bugs, so I decided to spend some time to rewrite WebSocket client on Rust.
I should help to fix…
-
I found this minimal example to be able to cause a stack overflow. It only happens when the destructor is called of async drop within my project it just stack overflows and aborts the program.
Do n…
-
### Describe the bug
```
export const openFunProxy = async () => {
let proxyWindow = await WebviewWindow.getByLabel('fun-proxy');
if (proxyWindow) {
const isMinimize = await proxyWindow?.…
-
### Describe the bug
```ts
const toImage = async () => {
return new Promise((resolve) => {
const img = new Image();
img.src = logo;
img.onload = () => {
requestAnimationFr…
-
Make _all_ asserting function print the location in user code where they called the asserting mockito function.
It looks like this was already added to a few methods of `Mock` but not all.