From a502cb16c35827f10c876a54c1de869f71d78488 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 3 Feb 2023 08:42:05 +0100 Subject: [PATCH] ffi.rs: prevent rustfmt from breaking "use" statements rustfmt removes the "::" prefix from qualifiers. This breaks the build because I think a later "pub use ffi::*" results in "std" being an ambiguous reference. --- fish-rust/src/ffi.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fish-rust/src/ffi.rs b/fish-rust/src/ffi.rs index 1c95ff328..bbc83c175 100644 --- a/fish-rust/src/ffi.rs +++ b/fish-rust/src/ffi.rs @@ -1,5 +1,7 @@ use crate::wchar::{self}; +#[rustfmt::skip] use ::std::pin::Pin; +#[rustfmt::skip] use ::std::slice; use autocxx::prelude::*; use cxx::SharedPtr;