Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change visibility levels of generated soroban-sdk testutils code in a…
…cordance with clippy (#1403) ### What With the feature `testutils` enabled in the soroban-sdk, the procedural macro `contract` generates a private module named `__{contract_name}_fn_set_registry` for each contract. Some members used to have the visibility level `pub(crate)` and are now changed to visibility level `pub`. ### Why This previously triggered the clippy rule [redundant_pub_crate](https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate). As the rule explains, defining `pub(crate)` inside a private module is unnecessary due to the module's visibility level, and can be potentially misleading. ### Known limitations This change does not impact functionality in any way and removes the clippy warning for teams that have it enabled, so there are no known limitations.
- Loading branch information