Skip to content
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

remove redundant print method for Splat #55494

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

matthias314
Copy link
Contributor

I think that print is redundant here. The docstring for print says:

print falls back to calling show, so most types should just define show.

base/operators.jl Outdated Show resolved Hide resolved
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
@matthias314
Copy link
Contributor Author

Thanks! Shall I combine both commits into one?

@jishnub
Copy link
Contributor

jishnub commented Aug 15, 2024

That's not necessary, as PR commits are usually squashed when they're merged.

@nsajko nsajko added the display and printing Aesthetics and correctness of printed representations of objects. label Aug 15, 2024
@LilithHafner
Copy link
Member

Thanks!

@LilithHafner LilithHafner merged commit 306cee7 into JuliaLang:master Aug 18, 2024
7 of 8 checks passed
KristofferC pushed a commit that referenced this pull request Sep 12, 2024
also a related bugfix by Jameson Nash <vtjnash@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display and printing Aesthetics and correctness of printed representations of objects.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants