Verified Commit f8574bd4 authored by Alex Butler's avatar Alex Butler
Browse files

Use tool lints

parent e70337a5
Pipeline #2135 passed with stages
in 5 minutes and 42 seconds
#![allow(unknown_lints, renamed_and_removed_lints)]
#![allow(unknown_lints)]
extern crate stb_truetype;
use stb_truetype::FontInfo;
use std::borrow::Cow;
#[allow(cast_ptr_alignment)] // FIXME seems a bit dodgy
#[allow(clippy::cast_ptr_alignment)] // FIXME seems a bit dodgy
fn main() {
let file = &include_bytes!("../fonts/Gudea-Regular.ttf")[..];
let font = FontInfo::new(Cow::Borrowed(file), 0).unwrap();
......
#![allow(unknown_lints, renamed_and_removed_lints)]
#![warn(clippy)]
#![allow(too_many_arguments, cast_lossless, many_single_char_names)]
#![allow(unknown_lints)]
#![warn(clippy::all)]
#![allow(
clippy::too_many_arguments,
clippy::cast_lossless,
clippy::many_single_char_names
)]
extern crate byteorder;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment