-
Notifications
You must be signed in to change notification settings - Fork 374
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
doc: improve description for "terminate" group #10950
Conversation
google/cloud/terminate_handler.h
Outdated
* - If the application calls `future<T>::get()`, the library was compiled with | ||
* exceptions disabled, and (somehow) the future is satisfied with an | ||
* exception. Note that the library APIs typically return | ||
* `future<StatusOr<T>>` to avoid this problem, but the application may be |
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.
s/may be/may/
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.
Done
google/cloud/terminate_handler.h
Outdated
* | ||
* - If the application calls `StatusOr<T>::value()`, and the library was | ||
* compiled with exceptions disabled, and the `StatusOr<T>` contains an error, | ||
* *then* the function throw an exception to report the error and the function |
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.
s/throw/throws/
s/and the function/as the function/
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.
Done
Codecov ReportBase: 93.64% // Head: 93.64% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #10950 +/- ##
=======================================
Coverage 93.64% 93.64%
=======================================
Files 1717 1717
Lines 154915 154915
=======================================
+ Hits 145070 145071 +1
+ Misses 9845 9844 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I noticed this when writing the docfx stuff. It is also a good test for the new CI images.
This change is