TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust 1.64.0

71 pointsby 0xedbover 2 years ago

2 comments

curious145454over 2 years ago
&gt; This takes a bit more code to implement, but provides a simpler API for users.<p>I fail to see how hiding self.send() inside of IntoFuture makes anything simpler.<p>StorageRequest::new().set_debug(true).send().await?;<p>vs<p>StorageRequest::new().set_debug(true).await?;<p>Just reading the later variant makes me wonder &quot;What are we (a)waiting for here? For set_debug to succeed?&quot;. I&#x27;d definitely stick to the former variant.<p>Perhaps, it&#x27;s just not the best example and there are better usages than the one chosen to illustrate it.
评论 #32941504 未加载
评论 #32942903 未加载
评论 #32940116 未加载
hsfzxjyover 2 years ago
Still no GAT
评论 #32942631 未加载
评论 #32944142 未加载