42 lines
1.7 KiB
Text
42 lines
1.7 KiB
Text
Copyright Mozilla Foundation
|
|
|
|
Licensed under the Apache License (Version 2.0), or the MIT license,
|
|
(the "Licenses") at your option. You may not use this file except in
|
|
compliance with one of the Licenses. You may obtain copies of the
|
|
Licenses at:
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
https://opensource.org/licenses/MIT
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the Licenses is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the Licenses for the specific language governing permissions and
|
|
limitations under the Licenses.
|
|
|
|
--
|
|
|
|
Test code is dedicated to the Public Domain when so designated (see
|
|
the individual files for PD/CC0-dedicated sections).
|
|
|
|
--
|
|
|
|
The implementation for Utf8CharIndices was adapted from the
|
|
CharIndices implementation of the Rust standard library at revision
|
|
ab32548539ec38a939c1b58599249f3b54130026
|
|
(https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/library/core/src/str/iter.rs).
|
|
|
|
Excerpt from https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/COPYRIGHT ,
|
|
which refers to
|
|
https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/LICENSE-APACHE
|
|
and
|
|
https://github.com/rust-lang/rust/blob/ab32548539ec38a939c1b58599249f3b54130026/LICENSE-MIT
|
|
:
|
|
|
|
For full authorship information, see the version control history or
|
|
https://thanks.rust-lang.org
|
|
|
|
Except as otherwise noted (below and/or in individual files), Rust is
|
|
licensed under the Apache License, Version 2.0 <LICENSE-APACHE> or
|
|
<http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
<LICENSE-MIT> or <http://opensource.org/licenses/MIT>, at your option.
|