From 6e31b80f55df15704f139fff19a85bc4a1af69f7 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 8 May 2025 20:01:07 -0700 Subject: [PATCH] Fix naked em-dash The `naked` attribute was not following the style of all the other attributes of using an em-dash here. --- src/attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attributes.md b/src/attributes.md index d6cbed613..c316be2cc 100644 --- a/src/attributes.md +++ b/src/attributes.md @@ -291,7 +291,7 @@ The following is an index of all built-in attributes. - Code generation - [`inline`] --- Hint to inline code. - [`cold`] --- Hint that a function is unlikely to be called. - - [`naked`] - Prevent the compiler from emitting a function prologue. + - [`naked`] --- Prevent the compiler from emitting a function prologue. - [`no_builtins`] --- Disables use of certain built-in functions. - [`target_feature`] --- Configure platform-specific code generation. - [`track_caller`] --- Pass the parent call location to `std::panic::Location::caller()`.