-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also remove an unnecessary method, and generalize a `write` method for `SubArray` from `::IOStream` to `::IO`.
- Loading branch information
1 parent
c6e51d0
commit 4f7c072
Showing
5 changed files
with
39 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generalizing this to
IO
caused a downstream ambiguity for me in HTTP.jl:fifobuffer.jl, where I had definedwrite(::FIFOBuffer, ::Vector{UInt8})
andwrite(::FIFOBuffer, ::AbstractVector{UInt8})
. Maybe it's just weird in my case since I'm defining my ownwrite
methods for vector types?