content: clarify append code example

Rename variable: a (array) -> s (slice).

Capitalize comments to make full sentences.

Simplify printSlice function. There's no need to pass a
descriptive string, since the name of the slice is the same
each time the function is called.

Change-Id: I18981b4c649ee84b121f3aedce5ee62c2fa37b08
Reviewed-by: Andrew Gerrand <>
1 file changed