-
-
Notifications
You must be signed in to change notification settings - Fork 162
Fixed minor formatting issue in introduction.md #870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,6 @@ updateVersion(&dbRecord) | |
// dbRecord is now (3, "Exercism") | ||
``` | ||
|
||
~~~~exercism/warrning | ||
There are a couple of extra rules one should be aware of regarding in-out parameters. | ||
|
||
1. Inside a function with in-out parameters, you are not allowed to reference the variable that was passed in as the in-out parameter. | ||
|
@@ -81,7 +80,7 @@ var mutVar = 0 | |
inoutFunc(&mutVar, &mutVar) | ||
// raises a compiler error: "Inout arguments are not allowed to alias each other" | ||
``` | ||
~~~~ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This may simply require a blank line between the block ends. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tried adding a blank line between ``` and ~~~~, but it does not format the code snippet. Also the text There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it should be caution There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The caution tag is not formatting the code either. |
||
|
||
|
||
## Nested functions | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the issue here is that this tag doesn't exist. To fix this, this tag should be: caution not warrning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tags exercism/caution and caution are not working either.