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

unify comment style - basics/loops #75

Merged
merged 3 commits into from
Aug 31, 2016
Merged

unify comment style - basics/loops #75

merged 3 commits into from
Aug 31, 2016

Conversation

wilzbach
Copy link
Member

It felt silly to use Params and Returns here.
(issue #47)

@@ -58,7 +58,9 @@ The keyword `continue` starts with the next loop iteration.
```d
import std.stdio;

/// Returns: average of array
/*
Computes the average of an array.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... the average of the elements of the array.

@wilzbach
Copy link
Member Author

the average of the elements of the array.

Nice.
For me " the average of the elements of an array." sounds more right, but I am also not sure whether the last article should be definite or indefinite.

@PetarKirov
Copy link
Member

"Source code line length exceeds 48 limit in 'Loops': Computes the average of the elements of an array." - adding a line break should fix this.

@PetarKirov PetarKirov merged commit f4fdb33 into master Aug 31, 2016
@PetarKirov PetarKirov deleted the wilzbach-patch-5-6 branch August 31, 2016 08:48
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.

2 participants