-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change the string formatting in msg macro (#91)
The msg macro which solana uses for logging is not the same as println macro i feel. Some of the formatting which we used to do in println macro like let x = 5; println!("{x}"); Doesnt seem to work in msg macro. When used the above with msg macro, the output is -> {x}. So we have to specify empty braces and then pass the arguments outside the quotes. So this PR fixes that.
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 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