forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds function returning only
fn signature
in function code blocks (F…
…uelLabs#3545) This PR adds a function `trim_fn_body()` that returns only the function signature for documentable function code blocks. Result: ![Screen Shot 2022-12-08 at 1 25 46 PM](https://user-images.githubusercontent.com/57543709/206549104-1b5b1e79-d573-422b-9bb2-eaa1af6bfa37.png) Closes FuelLabs#3540 Co-authored-by: Mohammad Fawaz <[email protected]>
- Loading branch information
1 parent
8101a64
commit edd77fb
Showing
2 changed files
with
10 additions
and
3 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
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