|
2 | 2 |
|
3 | 3 | // Regr test for #32278. Compiling this file (actually, a bigger
|
4 | 4 | // version of this file) got really, really slow.
|
| 5 | +// |
| 6 | +// Original provenance: |
| 7 | +// |
| 8 | +// https://github.com/chowdhurya/rust-unidecode/blob/master/src/data.rs |
| 9 | +// |
| 10 | +// Original license follows: |
| 11 | +// |
| 12 | +// Copyright (c) 2015, Amit Chowdhury |
| 13 | +// All rights reserved. |
| 14 | +// |
| 15 | +// Redistribution and use in source and binary forms, with or without modification, |
| 16 | +// are permitted provided that the following conditions are met: |
| 17 | +// |
| 18 | +// * Redistributions of source code must retain the above copyright notice, this |
| 19 | +// list of conditions and the following disclaimer. |
| 20 | +// * Redistributions in binary form must reproduce the above copyright notice, |
| 21 | +// this list of conditions and the following disclaimer in the documentation |
| 22 | +// and/or other materials provided with the distribution. |
| 23 | +// * The names of this software's contributors may not be used to endorse or |
| 24 | +// promote products derived from this software without specific prior written |
| 25 | +// permission. |
| 26 | +// |
| 27 | +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 28 | +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 29 | +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 30 | +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
| 31 | +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 32 | +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 33 | +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 34 | +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 35 | +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 36 | +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 37 | + |
5 | 38 |
|
6 | 39 | pub static MAPPING: [&'static str; 0xffff] = [
|
7 | 40 | "\u{0}",
|
|
0 commit comments