Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions exercises/concept/lasagna-master/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ updateVersion(&dbRecord)
// dbRecord is now (3, "Exercism")
```

~~~~exercism/warrning
Copy link
Member

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.

Copy link
Author

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.

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.
Expand All @@ -81,7 +80,7 @@ var mutVar = 0
inoutFunc(&mutVar, &mutVar)
// raises a compiler error: "Inout arguments are not allowed to alias each other"
```
~~~~
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may simply require a blank line between the block ends.

Copy link
Author

Choose a reason for hiding this comment

The 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 ~~~~exercism/warrning is it correct or it should be ~~~~exercism/warning? Get same formatting with both of them, though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be caution

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The caution tag is not formatting the code either.



## Nested functions

Expand Down