From 40034eca61a778adbf6208f17fc88fba8d45e81e Mon Sep 17 00:00:00 2001 From: davhojt Date: Wed, 25 May 2022 00:54:39 +0300 Subject: [PATCH] docs(partial_sums): correct grammar --- subjects/partial_sums/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subjects/partial_sums/README.md b/subjects/partial_sums/README.md index c7911d94..17ffb2b0 100644 --- a/subjects/partial_sums/README.md +++ b/subjects/partial_sums/README.md @@ -2,7 +2,7 @@ ### Instructions -Write a `parts_sums` function that receives a reference of an array of u64 and returns a vector with the partial sums of the received array. +Create a function named `parts_sums`, that receives a reference of an array of `u64`, and returns a vector with the partial sums of the received array. This is how partial sums work: @@ -41,7 +41,6 @@ parts_sums(&[1, 2, 3, 4, 5]) // == [15, 10, 6, 3 ,1, 0] ```rs pub fn parts_sums(arr: &[u64]) -> Vec<64>{ - } ```