-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(macros): Provide full import paths in
LightTraits
Before this change, using `#[derive(LightTraits)]` macro required adding necessary imports manually, e.g. ```rust use light_sdk::traits::{InvokeAccounts, SignerAccounts}; ``` Which might've been annoying for developers. This change uses full paths for all foreign types used inside macros, so no additional imports are needed.
- Loading branch information
1 parent
de5d56d
commit 981f310
Showing
1 changed file
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters