Skip to content

Update Commons.swift: Added a comment to toCeilMins that mins needs to be >= 1#807

Open
malhal wants to merge 1 commit into
malcommac:masterfrom
malhal:patch-1
Open

Update Commons.swift: Added a comment to toCeilMins that mins needs to be >= 1#807
malhal wants to merge 1 commit into
malcommac:masterfrom
malhal:patch-1

Conversation

@malhal

@malhal malhal commented Feb 2, 2023

Copy link
Copy Markdown

Added a comment that might save others some time trying to fix a divide by zero crash if mistakenly doing .toCeilMins(0) like I did.

@malhal malhal changed the title Update Commons.swift Update Commons.swift: Added a comment to toCeilMins that mins needs to be >= 1 Feb 2, 2023
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.

1 participant