未验证 提交 9099353e 编写于 作者: M Mara Bos 提交者: GitHub

Use '_ for irrelevant lifetimes in Debug impl.

Co-authored-by: NDaniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
上级 6b46a525
......@@ -301,7 +301,7 @@ pub fn is_running(&self) -> bool {
}
}
impl<'scope, 'env> fmt::Debug for Scope<'scope, 'env> {
impl fmt::Debug for Scope<'_, '_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Scope")
.field("num_running_threads", &self.data.num_running_threads.load(Ordering::Relaxed))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册