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

clarify @views docstring #52374

Merged
merged 3 commits into from
Dec 7, 2023
Merged

clarify @views docstring #52374

merged 3 commits into from
Dec 7, 2023

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Dec 2, 2023

This PR is a slight clarification to the @views docstring that:

  1. Clarifies the compat notice about begin indexing — this was implemented in Julia 1.4, but was only supported by @views in Julia 1.5.
  2. Changes b[:] .= row to b .= row in the example — the [:] is superfluous and confusing.
  3. Adds comments to the code

@stevengj stevengj added the domain:docs This change adds or pertains to documentation label Dec 2, 2023
@fredrikekre fredrikekre merged commit 75fdd86 into master Dec 7, 2023
7 checks passed
@fredrikekre fredrikekre deleted the stevengj-patch-6 branch December 7, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants