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.
Display documentation for sway keywords (FuelLabs#3792)
This PR provides documentation when hovering over keywords in sway. I copied over the documentation for keywords that are shared with rust and tweaked them so they made sense to sway [from here](https://github.com/rust-lang/rust/blob/master/library/std/src/keyword_docs.rs ). It would be great to get some compiler engineers to look over the documentation to make sure nothing is being incorrectly defined. There are still a number of keywords that need documentation written up for them but I've opened up FuelLabs#3939 so these can be added by someone on the compiler team at a later date. will close FuelLabs#3515 ---------
- Loading branch information
1 parent
dd9ab73
commit f7c323f
Showing
8 changed files
with
894 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.