]> git.lizzy.rs Git - rust.git/blobdiff - src/libpanic_unwind/seh.rs
Various minor/cosmetic improvements to code
[rust.git] / src / libpanic_unwind / seh.rs
index 832a0aff71be1b6e4dc434de60245ed7673b653a..9d24079d91e2df6f9db584faea1e4b9fc5f45734 100644 (file)
@@ -12,7 +12,7 @@
 //!
 //! On Windows (currently only on MSVC), the default exception handling
 //! mechanism is Structured Exception Handling (SEH). This is quite different
-//! than Dwarf-based exception handling (e.g. what other unix platforms use) in
+//! than Dwarf-based exception handling (e.g., what other unix platforms use) in
 //! terms of compiler internals, so LLVM is required to have a good deal of
 //! extra support for SEH.
 //!
@@ -304,7 +304,7 @@ pub unsafe fn panic(data: Box<dyn Any + Send>) -> u32 {
     })
 }
 
-// This is required by the compiler to exist (e.g. it's a lang item), but
+// This is required by the compiler to exist (e.g., it's a lang item), but
 // it's never actually called by the compiler because __C_specific_handler
 // or _except_handler3 is the personality function that is always used.
 // Hence this is just an aborting stub.