Skip to content

Commit 173b866

Browse files
Merge pull request #66 from sauntimo/patch-4
grammar fix
2 parents d481bef + d1cf5fa commit 173b866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scalatutorial/sections/StructuringInformation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ object StructuringInformation extends ScalaTutorialSection {
234234
*
235235
* Consider the following algebraic data type that models note durations.
236236
* Complete the implementation of the function `fractionOfWhole`, which
237-
* takes as parameter a duration and returns the corresponding fraction
237+
* takes a duration as a parameter and returns the corresponding fraction
238238
* of the `Whole` duration.
239239
*/
240240
def adts(res0: Double, res1: Double): Unit = {

0 commit comments

Comments
 (0)