From 2c3e38be741bd0b7cdc2c345e9d3ce85320e8ea9 Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Wed, 19 Jun 2024 15:02:54 +0200 Subject: [PATCH] Reformat --- src/pages/core/conventions/library-feature.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/core/conventions/library-feature.mdx b/src/pages/core/conventions/library-feature.mdx index bf2fc1c2..db7d53c0 100644 --- a/src/pages/core/conventions/library-feature.mdx +++ b/src/pages/core/conventions/library-feature.mdx @@ -44,10 +44,11 @@ pub fn instantiate( 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.