mirror of
https://github.com/ankitects/anki.git
synced 2026-01-16 15:29:10 -05:00
Rust 1.89 produces the following output: ``` error: unicode codepoint changing visible direction of text present in literal ... warning: allow(text_direction_codepoint_in_literal) is ignored unless specified at crate level --> rslib/i18n/src/generated.rs:7:10 | 7 | #![allow(text_direction_codepoint_in_literal)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` This change fixes it. This ensures that some third-party crate that pulls in this code as library code (and thus isn't subject to the rust-toolchain file in this repo) doesn't hit this compilation error.
8 lines
240 B
Rust
8 lines
240 B
Rust
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
// Include auto-generated content
|
|
|
|
#![allow(clippy::all)]
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/strings.rs"));
|