Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3597771rwl; Sun, 9 Apr 2023 20:14:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YigVuzbxrmtCj83imGIV3RQ5xGlFypUHxWEEdsY10uTCnBDIyN2dyTE6T8VKBbTRNWyts9 X-Received: by 2002:a17:90b:384d:b0:23d:29c7:916f with SMTP id nl13-20020a17090b384d00b0023d29c7916fmr11372260pjb.32.1681096447611; Sun, 09 Apr 2023 20:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681096447; cv=none; d=google.com; s=arc-20160816; b=dy1eLFJhCJtdd58/ZZWnZMy9zRhMBMFksbKZP2Z9Df/gJE+znkBnzQKf5LfSmyc14u WP+YMVgGPdXXuvWyL2+8wU6y97vsxyeGlf6bjL1HLOUyeSVpduVqeNBLL6yjVSbNKDnk C1OHozpq34GWw0xrAZL/8zaA3ltgPZAAUOUnft9aLsEQp5hqGv9mALg9NUydeDOU7SDN HAkmsOQsO+gRRjQJcphs2Q2CrFyu0dTQgfXJwE8nSrQJ5pKOj1BrShqyUL/dVTTMbVyR JRKN6EUX8Ga1wnzG7ZOXmJMhF2RnpAJODfU6z1Tmthy9QvwLedKHG+djQuN1sSjfn4Ft OXEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=i/hTO2X8KzwIXSVHvKRYRC8lZzPKpxmV9rFGAQvm7mg=; b=K9xVOhgQoUicQIxn+NAdekkJMRnRIsn+BL9z8zyIlV8j0EMxJwxSOtNJQLuzbU1JKY T6dTIoHWTjSXDTQNRA6CxCu00e533ulsYPutjuTXCMZ123O1jJOtPjRK+qYPE8QVQbWe HdkezdExXVAox87fuorN/g2eWblRUeqUWzcpaxjQSc5oXfAyDcccGszV9wIFR+mZjrg8 lOc91x3t1HMU1S9zItecykqDVEu8+i6Q2BGBw+ltlPotlW8hoFzPtmQOEuMC1UzPhI98 I5JxVSZbCkaqScu+FEmX2wIeaoP6Spm0kUymeY2fqc4lLOx1wzORMkqppFDLeg2Po8GB gdkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h8jxDm0w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170902704b00b001a216fddcffsi9596755plt.645.2023.04.09.20.13.53; Sun, 09 Apr 2023 20:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h8jxDm0w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbjDJCxP (ORCPT + 99 others); Sun, 9 Apr 2023 22:53:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjDJCxN (ORCPT ); Sun, 9 Apr 2023 22:53:13 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144312D5E; Sun, 9 Apr 2023 19:53:13 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id u13so3530852ybu.5; Sun, 09 Apr 2023 19:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681095192; x=1683687192; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=i/hTO2X8KzwIXSVHvKRYRC8lZzPKpxmV9rFGAQvm7mg=; b=h8jxDm0w4AptuXwbXmcqzdsrPjn/1L9p9/SB6ogf6bIF71GBYOC8kGxJAn3cmcMfJI tt5CyVmoI8vJ/8mcSXWAP0wQODevLmItoZCELS5SN8iVfoS/p3giizgPzuhh9tXbezl7 r/lCY01Uj8QmFD02/qEcjEZISQjgZThgcxLzx/Ew4tbeEkKuTxeCfLSC4hYuhFu/iHT7 qjLs48gfsxHSmUFm8IOSHuWl19XrKZlnm8YS+mkqmMxAawRroEcnjaUJ/eEYFq9mnfqJ MXd3SMxE7hLOd0THq6GRmprH6QO+jrInRXMaoS5HRZWhIjHZ6V27x61Cq9YsqXwcE9UL BIXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681095192; x=1683687192; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i/hTO2X8KzwIXSVHvKRYRC8lZzPKpxmV9rFGAQvm7mg=; b=g3CR16i7FcjbU76dHHn2N7V9EP63ZJZLiuQvY/MVVl8aT4WtFsYwDh11HcCGjCEfQ2 BJ6N42ar1Tgv9VWz09zoEGpDDNx6UgkXchvllpxNyzBpJx6B3YyUM4xuvwGtBVw8RT8N KXe2Wz8rDKwULYvgzsWJTPBfsdyn69KNZeycCynStJRG80osU8qLLr5ulW75faAWOjd8 vXN28+rxX6R3JW3ho58HJKoe3+l9VEFJ/K3U++dY0O/X9fd+NA8ip7QtHdwdO8+GK82h Fe+7vSP7HgneRDT32L8uW1Q39zClF6fYe1JN1UesAdukSGhe/tE7wCNpEJwmnRM1Lu+M mjsA== X-Gm-Message-State: AAQBX9f0IWll1blb732hqpnGhur6GYz9lIt9hJpGanJKe5QyA2Q+Jjpe nNsu4Z+EkUNMK3J2Wpy+FJOjBMWMnyviqr8C5C8pPsXBearVmQ== X-Received: by 2002:a25:df47:0:b0:b8e:ce2d:290a with SMTP id w68-20020a25df47000000b00b8ece2d290amr2994885ybg.11.1681095192308; Sun, 09 Apr 2023 19:53:12 -0700 (PDT) MIME-Version: 1.0 References: <20230207185216.1314638-1-boqun.feng@gmail.com> In-Reply-To: <20230207185216.1314638-1-boqun.feng@gmail.com> From: Miguel Ojeda Date: Mon, 10 Apr 2023 04:53:01 +0200 Message-ID: Subject: Re: [PATCH v2 0/2] rust: sync: Arc: Implement Debug and Display To: Boqun Feng Cc: linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Vincenzo Palazzo , Will Deacon , Peter Zijlstra , Mark Rutland , Greg Kroah-Hartman , =?UTF-8?Q?Sergio_Gonz=C3=A1lez_Collado?= , Finn Behrens Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 7, 2023 at 7:52=E2=80=AFPM Boqun Feng wr= ote: > > I found that our Arc doesn't implement `Debug` or `Display` when I tried > to play with them, therefore add these implementation. Applied to `rust-next` (with the few changes mentioned). Thanks! Cheers, Miguel