File tree 2 files changed +5
-2
lines changed
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<
54
54
// Propagate any other error.
55
55
Err ( ( status, _) ) => Err ( Error :: from ( status) ) ,
56
56
// 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
+ }
58
61
} ?;
59
62
60
63
// 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 {
1387
1387
/// image source.
1388
1388
#[ derive( Debug ) ]
1389
1389
pub 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
1391
1391
/// buffer, so the input reference doesn't need to remain valid
1392
1392
/// after the image is loaded.
1393
1393
FromBuffer {
You can’t perform that action at this time.
0 commit comments