mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2026-01-17 20:07:00 +01:00
format: fix compatibility with Rust 1.48
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// 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};
|
use std::fmt::{self, Write};
|
||||||
|
|
||||||
pub struct CStrFormat<'a>(pub &'a [u8]);
|
pub struct CStrFormat<'a>(pub &'a [u8]);
|
||||||
|
|||||||
Reference in New Issue
Block a user