Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 19, 2024
1 parent 63b85a7 commit 2c3e38b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pages/core/conventions/library-feature.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ pub fn instantiate(
</Callout>

The rationale behind this is that currently using `#[entry_point]` exports
special symbols from the binary, and these symbols **must** be unique. That
means if you have two `instantiate` endpoints annotated with `#[entry_point]`
_somewhere_ in your project (that includes all your dependencies!), your
contract will fail to compile.
special symbols from the binary, and these symbols **must** be unique.

That means if you have two `instantiate` endpoints annotated with
`#[entry_point]` _somewhere_ in your project (that includes all your
dependencies!), your contract will fail to compile.

Using this library feature will enable developers to use your contract as a
dependency and reuse your code.
Expand Down

0 comments on commit 2c3e38b

Please sign in to comment.