-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 warn and warn_with #23441
Doc warn and warn_with #23441
Conversation
base/libgit2/types.jl
Outdated
@@ -849,6 +853,15 @@ end | |||
|
|||
with(f::Function, ::Type{T}, args...) where {T} = with(f, T(args...)) | |||
|
|||
""" | |||
with_warn(f::Function, ::Type{T}, args..) |
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.
Missing a trailing dot on args
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.
oooh good call
base/libgit2/types.jl
Outdated
with_warn(f::Function, ::Type{T}, args..) | ||
|
||
Resource management helper function. Apply `f` to `args`, first constructing | ||
an instance of type `T` out of them. Makes sure to call `close` on the resulting |
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.
"Out of them" sounds confusing on first read. Maybe "first constructing an instance of type T
using the given arguments"?
Looks like we had a Mac timeout. I find the CircleCI logs really hard to read - is the fail there my fault? |
The Circle logs never even load for me (as an aside, that's why I made #23417, though that seems unlikely to be merged), so I'm also not sure. But I don't think Circle runs the doc stuff so it's likely unrelated. |
No description provided.