From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFA2521E0B2; Thu, 10 Jul 2025 19:21:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752175285; cv=none; b=rq+BpIwGtC7KiIQxBLBK0QWMTFwSXgJ0ZuMJYnoASwWAqmiRriRCh23H3H2dP9U80yQG5I10U9Ct5+t89YFJMhRjiXK2OingFDXn5CtKx6v5JiV/G0JciMoH8MJZofTUoKdZbDMt0WQiNFzyKQKM8LgHBzFU+XW47pJvlEvFGtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752175285; c=relaxed/simple; bh=IIT3aYIMd7f75/9qiMZTlRieRdG0lit3iU4um0MO9N4=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: References:In-Reply-To; b=sUEmOyUJ8YviroIl6n2MZVYRfOq30p/NAYu8YkkYT2cEPcU8znBE4vw49PhpcW22rp2IXGmjkh2ntYJ0iBe9F7DQQCZ8t5DvcjR2UasGcn+txd0Q6RdsUnIZu7erRTROVCf5tumR8S7RzbtHS280sP+3MJpQStKTOKgWMEd/yOo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Cy872Nl/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cy872Nl/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4112C4CEE3; Thu, 10 Jul 2025 19:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752175284; bh=IIT3aYIMd7f75/9qiMZTlRieRdG0lit3iU4um0MO9N4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cy872Nl/YqchCJsns7dQxc8VuBnnziOur57O6LW1DQ//DNwCCYsqnGGRpXfAuaVtA glh7LBHdTD7kvsTBC76LXydXupps/8v8gS+vP6fm/+PRjhRTJk8FYaO/IYkXtBmcrc bb7g8h9qkD7UI3pEJvq0OSsA1xaZNTNZg01F4skJkxB7SKZPoyVQWz2CprBzn98DTL d8eKrz35fzkq1jCfBWFeip8b+5heG3Tpgu4/fbNEBt5QpNyC/ipqocVZQrystHtQom eJDCjPzp0tZOITuOK0v1QlcfhXfHq8yH/SPDBkBmT87D4U+X02FZcYurcvFZoFQwXT s1lV/all/KDVg== Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 10 Jul 2025 21:21:17 +0200 Message-Id: From: "Benno Lossin" To: "Boqun Feng" Cc: , , , , "Miguel Ojeda" , "Alex Gaynor" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" , "Will Deacon" , "Peter Zijlstra" , "Mark Rutland" , "Wedson Almeida Filho" , "Viresh Kumar" , "Lyude Paul" , "Ingo Molnar" , "Mitchell Levy" , "Paul E. McKenney" , "Greg Kroah-Hartman" , "Linus Torvalds" , "Thomas Gleixner" , "Alan Stern" Subject: Re: [PATCH v6 2/9] rust: sync: Add basic atomic operation mapping framework X-Mailer: aerc 0.20.1 References: <20250710060052.11955-1-boqun.feng@gmail.com> <20250710060052.11955-3-boqun.feng@gmail.com> In-Reply-To: On Thu Jul 10, 2025 at 6:16 PM CEST, Boqun Feng wrote: > At least the rustdoc has safety section for each function. ;-) I don't usually use rustdoc to read function safety sections. Instead I jump to their definition and read the code. --- Cheers, Benno