| 1 |
Copyright Mozilla Foundation |
| 2 |
|
| 3 |
Licensed under the Apache License (Version 2.0), or the MIT license, |
| 4 |
(the "Licenses") at your option. You may not use this file except in |
| 5 |
compliance with one of the Licenses. You may obtain copies of the |
| 6 |
Licenses at: |
| 7 |
|
| 8 |
https://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
https://opensource.org/licenses/MIT |
| 10 |
|
| 11 |
Unless required by applicable law or agreed to in writing, software |
| 12 |
distributed under the Licenses is distributed on an "AS IS" BASIS, |
| 13 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 |
See the Licenses for the specific language governing permissions and |
| 15 |
limitations under the Licenses. |
| 16 |
|
| 17 |
-- |
| 18 |
|
| 19 |
Test code is dedicated to the Public Domain when so designated (see |
| 20 |
the individual files for PD/CC0-dedicated sections). |
| 21 |
|
| 22 |
-- |
| 23 |
|
| 24 |
The implementation for Utf8CharIndices was adapted from the |
| 25 |
CharIndices implementation of the Rust standard library at revision |
| 26 |
ab32548539ec38a939c1b58599249f3b54130026 |
| 27 |
(https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/library/core/src/str/iter.rs). |
| 28 |
|
| 29 |
Excerpt from https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/COPYRIGHT , |
| 30 |
which refers to |
| 31 |
https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/LICENSE-APACHE |
| 32 |
and |
| 33 |
https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/LICENSE-MIT |
| 34 |
: |
| 35 |
|
| 36 |
For full authorship information, see the version control history or |
| 37 |
https://thanks.rust-lang.org |
| 38 |
|
| 39 |
Except as otherwise noted (below and/or in individual files), Rust is |
| 40 |
licensed under the Apache License, Version 2.0 <LICENSE-APACHE> or |
| 41 |
<http://www.apache.org/licenses/LICENSE-2.0> or the MIT license |
| 42 |
<LICENSE-MIT> or <http://opensource.org/licenses/MIT>, at your option. |