slices: add an example #120

Open
wants to merge 1 commit into
from

1 participant

@amitsaha

This commit adds an example to the slices examples to demonstrate that when a slice is created from an underlying slice, any changes to the new slice will also be reflected in the original slice.

Amit Saha slices: add an example
This commit adds an example to the slices examples to demonstrate
that when a slice is created from an underlying slice, any changes
to the new slice will also be reflected in the original slice.
b5edf28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment