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

Update wording on pure function definition. #2556

Merged
merged 1 commit into from
Mar 27, 2022
Merged

Conversation

askreet
Copy link
Contributor

@askreet askreet commented Mar 27, 2022

Description

Fixes a typo in docs/concepts/pure-functions.mdx.

I was originally going to put a PR to fix only "has not side-effects", but I also re-read this sentence and realized it could be interpreted as saying a pure function returns its parameters exactly, not a deterministic value based on its parameters.

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

I am assuming the above are not required for docs-only changes, let me know if I am mistaken.

I was originally going to put a PR to fix "has not side-effects", but I also re-read this sentence and realized it could be interpreted as saying a pure function returns its parameters, not a deterministic value based on its parameters.
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 9b09ecc):

https://yew-rs--pr2556-patch-1-em7rg858.web.app

(expires Sun, 03 Apr 2022 16:10:30 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@ranile ranile merged commit e1f89a8 into yewstack:master Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants