File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -377,17 +377,17 @@ mod loaded {
377377 impl fmt:: Display for LoadingError {
378378 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
379379 match self {
380- LoadingError :: LibraryLoadFailure ( err) => fmt:: Display :: fmt ( err, f) ,
381- LoadingError :: MissingEntryPoint ( err) => fmt:: Display :: fmt ( err, f) ,
380+ Self :: LibraryLoadFailure ( err) => fmt:: Display :: fmt ( err, f) ,
381+ Self :: MissingEntryPoint ( err) => fmt:: Display :: fmt ( err, f) ,
382382 }
383383 }
384384 }
385385
386386 impl Error for LoadingError {
387387 fn source ( & self ) -> Option < & ( dyn Error + ' static ) > {
388388 Some ( match self {
389- LoadingError :: LibraryLoadFailure ( err) => err,
390- LoadingError :: MissingEntryPoint ( err) => err,
389+ Self :: LibraryLoadFailure ( err) => err,
390+ Self :: MissingEntryPoint ( err) => err,
391391 } )
392392 }
393393 }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pub use features::*;
2727mod prelude;
2828pub use prelude:: * ;
2929/// Native bindings from Vulkan headers, generated by bindgen
30- #[ allow( nonstandard_style) ]
30+ #[ allow( clippy :: useless_transmute , nonstandard_style) ]
3131pub mod native;
3232mod platform_types;
3333pub use platform_types:: * ;
You can’t perform that action at this time.
0 commit comments