Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5819292rwb; Mon, 14 Nov 2022 09:53:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf7vdpF92cgIuL1AyOn9ZR+MSFlR1IKZ1lTnWnNR+JOYg/TbfOC3s1kCOKAeYXc1xmk80d6l X-Received: by 2002:a17:90a:cf05:b0:217:ff37:2fe9 with SMTP id h5-20020a17090acf0500b00217ff372fe9mr14824789pju.242.1668448417752; Mon, 14 Nov 2022 09:53:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668448417; cv=none; d=google.com; s=arc-20160816; b=SJ2Ll01S5c32n95rlM6/H3TcbcF86AVgE0umg7kO34fMMd/nVfKKBxlycCCfK3OIGP zb54gFMYv023bUnDo2XHDYKuCKdTGPG/Euj9Z6TVAK5HLySqi7oUbZTW5ubn/GKl3i21 htIGpbbsYxjqicrv0YTARr1dNBJQm9AF2ZzqCQf661LhOVcs1B2ezXHejTbYBMShPBZY uEQt90CpiDQ1qUAXOYGUkw9NKHqQ8qyPqAlDStZBFNRFesDV7nwzWNH28lMsVFmlsi8X RQedFf+w0lke2J63jNCTHIWR5yEatz0SrwCkG3kbZX/kWwthr3MJ/Du6eHfgPu/C4/ZW mgYg== 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=GVt/oFN+blh8k3TM/7jbMZ0qqobahGcF8Xv/SNk9ry8=; b=C4up+7iFGCm8TTaRpT46SIVV1fS4dbEtQIGk0XYwVtpHAtFJ5GKEQU2hrx42ZpqQtM RGukI/yz+EXMltl7Ye8vdgiJQcGpc0tqk9E5IPmj14+5nyN2sOesojW5W6npu0b99Jd/ befiXrXWKekIPk43ymyNFsFfSJPptR37TCHcVzSGvYe4DlRSRpAmyI2jsLFM8lnF552r pjXSNxAMRDQJ252jW/GXTY9Vq4F7wqzkV7jY4N4gb7Ou7sXgbv98LF1YB5bWW36UEIsi Q0bkjTwobcBtGM3y37KvYR0INl+bUXuFFhZrfLSADyOyZuOmcZd8Z04OfAEncZtC3nCm wlzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JxRsi2r8; 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 a185-20020a6390c2000000b0045d8554a062si9763148pge.56.2022.11.14.09.53.23; Mon, 14 Nov 2022 09:53:37 -0800 (PST) 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=JxRsi2r8; 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 S237522AbiKNRXL (ORCPT + 88 others); Mon, 14 Nov 2022 12:23:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237557AbiKNRWs (ORCPT ); Mon, 14 Nov 2022 12:22:48 -0500 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413FF22B2C; Mon, 14 Nov 2022 09:22:46 -0800 (PST) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-370547b8ca0so113505917b3.0; Mon, 14 Nov 2022 09:22:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=GVt/oFN+blh8k3TM/7jbMZ0qqobahGcF8Xv/SNk9ry8=; b=JxRsi2r8POhUZC2Jpt9hW8/vEhZqbOlsDBFVPHtJ+MqwwYJQynqIeZgMLiIS/3Qsj8 fLza3JPx4tA3Lu5EvbWMONrZp0sdBBb408cH40SYnGzMBsFzTrsXi61airCZCdHP6SSe sr68V/3uEX+Zh0By77vVlPycMCu74NCMfxO3Bvf2+XxNnza5aoOlqI+RddGfC2RhMXN9 lyQ9tyqtH0W8D0k2TX21qv7+J5lVZzz/Pav4K+eOHt83vtdura8Tukg7KwpfqVcqhtij czchqbxLt30dcm3CZe7E8PEB+6fGP+uVD5Ma2G09+/HnMlVQk5tCcY7aLk0bnomdyf6W 4XNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=GVt/oFN+blh8k3TM/7jbMZ0qqobahGcF8Xv/SNk9ry8=; b=8DONwyoqVPrNBKEwLlZLmz+JPZpR53113CRTZd4ECdAS+BqdftkGrOEmkuJvvE/SR4 AHnTtEcsmbAbWKv6bSq2gFpDtpmOUZ4Qiytr/97kBIkW8lsv3x0ESvFNAGZ9meuOpb0L 5+UMSMC6EepbmVYx4S/fxMJC/+6lsfkf3abeJALn6jbkM4vQotoXDjQpfABYBy4AzS0J 7ygriTNDDxJOcCTEDGUFSNc2jGqPb8HRt42tshGsEqtZ39Dj2Nk/GMbJRqUlH+sllMRX gMqwHyHqsXQRK67t0BQkfL3wsIb51jC8HbbwDfovDgoycdDh8UGCAbaFktjQDDUylvAo M0mQ== X-Gm-Message-State: ANoB5pknHlBO8zsNJq565XAD9haKZUyYFmMasDzitiOyGvx7ivSPanlG neC5of8OtmmI2raQx0+cOkiVmCaqK52FI6Zw3v8= X-Received: by 2002:a81:9c12:0:b0:352:4422:d530 with SMTP id m18-20020a819c12000000b003524422d530mr14111616ywa.256.1668446565529; Mon, 14 Nov 2022 09:22:45 -0800 (PST) MIME-Version: 1.0 References: <20221110164152.26136-1-ojeda@kernel.org> <20221110164152.26136-6-ojeda@kernel.org> <20221114142611.2a21d4e9@GaryWorkstation> In-Reply-To: <20221114142611.2a21d4e9@GaryWorkstation> From: Miguel Ojeda Date: Mon, 14 Nov 2022 18:22:34 +0100 Message-ID: Subject: Re: [PATCH v1 05/28] rust: macros: add `concat_idents!` proc macro To: Gary Guo Cc: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Mon, Nov 14, 2022 at 3:26 PM Gary Guo wrote: > > Probably clearer to write `Ident::new(&format!("{a}{b}"), b.span())` > here? Same as Bj=C3=B6rn, it also looks better to me. I will update it. Cheers, Miguel