File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/hyperlight_guest_bin/src Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,9 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
143143}
144144
145145/// A writer that sends all output to the hyperlight host
146- /// using output ports. This allows us to not impose a
146+ /// using output ports. This allows us to not impose a
147147/// buffering limit on error message size on the guest end,
148- /// though one exists for the host.
148+ /// though one exists for the host.
149149struct HyperlightAbortWriter ;
150150impl core:: fmt:: Write for HyperlightAbortWriter {
151151 fn write_str ( & mut self , s : & str ) -> core:: fmt:: Result {
@@ -158,12 +158,11 @@ impl core::fmt::Write for HyperlightAbortWriter {
158158
159159#[ inline( always) ]
160160fn _panic_handler ( info : & core:: panic:: PanicInfo ) -> ! {
161- let mut w = HyperlightAbortWriter ;
161+ let mut w = HyperlightAbortWriter ;
162162
163163 // begin abort sequence by writing the error code
164164 unsafe {
165- write_abort (
166- & [ ErrorCode :: UnknownError as u8 ] ) ;
165+ write_abort ( & [ ErrorCode :: UnknownError as u8 ] ) ;
167166 }
168167
169168 let write_res = write ! ( w, "{}" , info) ;
You can’t perform that action at this time.
0 commit comments