File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ struct Color {
15
15
16
16
// Your task is to complete this implementation
17
17
// and return an Ok result of inner type Color.
18
- // You need create implementation for a tuple of three integer ,
19
- // an array of three integer and slice of integer .
18
+ // You need to create an implementation for a tuple of three integers ,
19
+ // an array of three integers and a slice of integers .
20
20
//
21
- // Note, that implementation for tuple and array will be checked at compile- time,
22
- // but slice implementation need check slice length!
23
- // Also note, that chunk of correct rgb color must be integer in range 0..=255.
21
+ // Note that the implementation for tuple and array will be checked at compile time,
22
+ // but the slice implementation needs to check the slice length!
23
+ // Also note that correct RGB color values must be integers in the 0..=255 range .
24
24
25
25
// Tuple implementation
26
26
impl TryFrom < ( i16 , i16 , i16 ) > for Color {
You can’t perform that action at this time.
0 commit comments