Marwes / combine

A parser combinator library for Rust
https://docs.rs/combine/*/combine/
MIT License
1.29k stars 93 forks source link

fix: warning #326

Closed fundon closed 2 years ago

fundon commented 2 years ago
warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
 --> src/parser/char.rs:274:17
  |
5 | use std::ascii::AsciiExt;
  |                 ^^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default

warning: 1 warning emitted
warning: unused import: `mem::MaybeUninit`
 --> ~/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/combine-4.6.1/src/stream/buf_reader.rs:9:11
  |
9 | use std::{mem::MaybeUninit, pin::Pin};
  |           ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default