mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-10-29 12:20:11 +01:00
format: fix compatibility with Rust 1.48
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
// (`char::decode_utf16` and `char::REPLACEMENT_CHAR` were exposed on the fundamental type
|
||||
// in Rust 1.52)
|
||||
use std::char;
|
||||
use std::fmt::{self, Write};
|
||||
|
||||
pub struct CStrFormat<'a>(pub &'a [u8]);
|
||||
|
||||
Reference in New Issue
Block a user