Closed thamsrang closed 4 years ago
The index mentioned in example for slice in incorrect. Array index start from 0 and end with length-1. I think there is mind manipulation mistake in mentioning index.
Better check things in local before report. https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=c900344981718a5e9f67e66cf6f075a8
The index mentioned in example for slice in incorrect. Array index start from 0 and end with length-1. I think there is mind manipulation mistake in mentioning index.