-
Notifications
You must be signed in to change notification settings - Fork 10.5k
docs: convert ErrorHandling
from .rst
to .md
#62297
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
Conversation
Resolves partially #49997.
@swift-ci please smoke test |
1 similar comment
@swift-ci please smoke test |
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.
Thanks! Why are all the apostrophes and quotes escaped?
I suspect the diff is all red because some functions in the snippets don’t have a closing brace. |
That's the behaviour of the tool that I use for conversion. Unfortunately, I'm not sure if it's customizable, and I'd prefer to stay on the safe side in case something actually has to be escaped. Backslashes before apostrophes and quotes have no effect on how those are rendered, so it seems safe to keep them. |
I see. I tend to be pedantic about this sort of benign though unnecessary noise, but I will leave this to the other reviewers’ discretion ✌🏻 |
docs/ErrorHandling.md
Outdated
Error handling is a well-trod path, with many different approaches in | ||
other languages, many of them problematic in various ways. We believe | ||
that our approach provides an elegant solution, drawing on the lessons | ||
we\'ve learned from other languages and fixing or avoiding some of the |
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.
Do we need to escape '
s?
docs/ErrorHandling.md
Outdated
|
||
## Kinds of Error | ||
|
||
What exactly is an \"error\"? There are many possible error conditions, |
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.
Same with "?
ecc0039
to
beb846f
Compare
beb846f
to
4296351
Compare
@swift-ci please smoke test and merge |
Resolves partially #49997.