Skip to content

Commit 08aeb89

Browse files
ehusstraviscross
authored andcommitted
Unwrap link_name
1 parent 4aa2c85 commit 08aeb89

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/items/external-blocks.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,7 @@ r[items.extern.attributes.link_name]
395395
### The `link_name` attribute
396396

397397
r[items.extern.attributes.link_name.intro]
398-
The *`link_name` attribute* may be specified on declarations inside an `extern`
399-
block to indicate the symbol to import for the given function or static.
398+
The *`link_name` attribute* may be specified on declarations inside an `extern` block to indicate the symbol to import for the given function or static.
400399

401400
r[items.extern.attributes.link_name.syntax]
402401
It uses the [MetaNameValueStr] syntax to specify the name of the symbol.
@@ -409,8 +408,7 @@ unsafe extern {
409408
```
410409

411410
r[items.extern.attributes.link_name.exclusive]
412-
Using this attribute with the `link_ordinal` attribute will result in a
413-
compiler error.
411+
Using this attribute with the `link_ordinal` attribute will result in a compiler error.
414412

415413
r[items.extern.attributes.link_ordinal]
416414
### The `link_ordinal` attribute

0 commit comments

Comments
 (0)