File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ struct Color {
1515
1616// Your task is to complete this implementation
1717// 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 .
2020//
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 .
2424
2525// Tuple implementation
2626impl TryFrom < ( i16 , i16 , i16 ) > for Color {
You can’t perform that action at this time.
0 commit comments