Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit c0b5b8e

Browse files
committed
Style-typo improvement.
1 parent cfbcea3 commit c0b5b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/tutorial/cw-contract/good-practices.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ so that one can generate schema calling simply `cargo schema`.
295295

296296
## Disabling entry points for libraries
297297

298-
Since we added the "rlib" target for the contract, it is, as mentioned before, useable as a
299-
dependency. The problem is that the contract dependent on ours would have Wasm entry points
298+
Since we added the "rlib" target to the contract, it is now, as previously mentioned,
299+
usable as a dependency. The problem is that the contract dependent on ours would have Wasm entry points
300300
generated twice - once in the dependency and once in the final contract. We can work this around by
301301
disabling generating Wasm entry points for the contract if the crate is used as a dependency. We
302302
would use [feature flags](https://doc.rust-lang.org/cargo/reference/features.html) for that.

0 commit comments

Comments
 (0)