File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ fn main() {
88 std:: env:: set_var ( "AR" , "llvm-ar" ) ;
99 cc:: Build :: new ( )
1010 . compiler ( "clang" )
11- . flag ( & format ! ( "--sysroot={msfs_sdk}/WASM/wasi-sysroot" ) )
11+ . flag ( format ! ( "--sysroot={msfs_sdk}/WASM/wasi-sysroot" ) )
1212 . flag ( "-fms-extensions" ) // intended to be used with msvc
1313 . flag ( "-D__INTELLISENSE__" ) // get rid of incorrect __attribute__'s from asobo
1414 . flag ( "-Wno-unused-parameter" ) // warning in nanovg
Original file line number Diff line number Diff line change 11#ifndef MSFS_RS_ALLTYPES_H
22#define MSFS_RS_ALLTYPES_H
33
4- #include <stdint.h>
5-
64#endif //MSFS_RS_ALLTYPES_H
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ pub struct SimConnect<'a> {
5858 client_data_id_counter : sys:: DWORD ,
5959}
6060
61- impl < ' a > std:: fmt:: Debug for SimConnect < ' a > {
61+ impl std:: fmt:: Debug for SimConnect < ' _ > {
6262 fn fmt ( & self , fmt : & mut std:: fmt:: Formatter ) -> std:: fmt:: Result {
6363 fmt. debug_struct ( "SimConnect" ) . finish ( )
6464 }
@@ -536,7 +536,7 @@ impl<'a> SimConnect<'a> {
536536 }
537537}
538538
539- impl < ' a > Drop for SimConnect < ' a > {
539+ impl Drop for SimConnect < ' _ > {
540540 fn drop ( & mut self ) {
541541 unsafe {
542542 map_err ( sys:: SimConnect_Close ( self . handle ) ) . expect ( "SimConnect_Close" ) ;
You can’t perform that action at this time.
0 commit comments