Skip to content

Commit 1f45bd4

Browse files
authored
Merge pull request #1929 from tshepang/patch-1
mention an important use for the naked attribute
2 parents f86e064 + a98c817 commit 1f45bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ The following is an index of all built-in attributes.
291291
- Code generation
292292
- [`inline`] --- Hint to inline code.
293293
- [`cold`] --- Hint that a function is unlikely to be called.
294-
- [`naked`] --- Prevent the compiler from emitting a function prologue.
294+
- [`naked`] --- Prevent the compiler from emitting a function prologue and epilogue.
295295
- [`no_builtins`] --- Disables use of certain built-in functions.
296296
- [`target_feature`] --- Configure platform-specific code generation.
297297
- [`track_caller`] --- Pass the parent call location to `std::panic::Location::caller()`.

0 commit comments

Comments
 (0)