File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ pub(crate) fn make_boxed<
5454 // Propagate any other error.
5555 Err ( ( status, _) ) => Err ( Error :: from ( status) ) ,
5656 // Success is unexpected, return an error.
57- Ok ( _) => Err ( Error :: from ( Status :: UNSUPPORTED ) ) ,
57+ Ok ( _) => {
58+ log:: debug!( "Got unexpected success status" ) ;
59+ Err ( Error :: from ( Status :: UNSUPPORTED ) )
60+ }
5861 } ?;
5962
6063 // We add trailing padding because the size of a rust structure must
Original file line number Diff line number Diff line change @@ -1387,7 +1387,7 @@ impl super::Table for BootServices {
13871387/// image source.
13881388#[ derive( Debug ) ]
13891389pub enum LoadImageSource < ' a > {
1390- /// Load an image from a buffer. The data will copied from the
1390+ /// Load an image from a buffer. The data will be copied from the
13911391 /// buffer, so the input reference doesn't need to remain valid
13921392 /// after the image is loaded.
13931393 FromBuffer {
You can’t perform that action at this time.
0 commit comments