https://github.com/JuliaLang/julia
Revision a586d3cc6b02c7ae72e2161c8674aa3800d8da1f authored by Mason Protter on 03 March 2024, 01:16:51 UTC, committed by GitHub on 03 March 2024, 01:16:51 UTC
spurred by a conversation on Slack where someone was thrown off
wondering why `zero(Vector{Int})` errors, but `zero(Int)` is fine.

---------

Co-authored-by: Sukera <11753998+Seelengrab@users.noreply.github.com>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Simon Byrne <simonbyrne@gmail.com>
1 parent 86f5b21
History
Tip revision: a586d3cc6b02c7ae72e2161c8674aa3800d8da1f authored by Mason Protter on 03 March 2024, 01:16:51 UTC
Clarify docstring for `zero`, `one`, and `oneunit`. (#52107)
Tip revision: a586d3c
File Mode Size
Dockerfile -rw-r--r-- 140 bytes
devcontainer.json -rw-r--r-- 134 bytes

back to top