@@ -18,7 +18,7 @@ pub enum BuildKernelError {
1818 Io {
1919 /// Desciption of the failed I/O operation
2020 message : & ' static str ,
21- /// The I/O error that occured
21+ /// The I/O error that occurred
2222 error : io:: Error ,
2323 } ,
2424
@@ -49,7 +49,7 @@ pub enum BuildKernelError {
4949#[ non_exhaustive]
5050pub enum CreateBootimageError {
5151 /// Failed to build the bootloader.
52- #[ error( "An error occured while trying to build the bootloader: {0}" ) ]
52+ #[ error( "An error occurred while trying to build the bootloader: {0}" ) ]
5353 Bootloader ( #[ from] BootloaderError ) ,
5454
5555 /// Error while running `cargo metadata`
@@ -64,15 +64,15 @@ pub enum CreateBootimageError {
6464 } ,
6565
6666 /// Disk image creation failed
67- #[ error( "An error occured while trying to create the disk image: {0}" ) ]
67+ #[ error( "An error occurred while trying to create the disk image: {0}" ) ]
6868 DiskImage ( #[ from] DiskImageError ) ,
6969
7070 /// An unexpected I/O error occurred
7171 #[ error( "I/O error: {message}:\n {error}" ) ]
7272 Io {
7373 /// Desciption of the failed I/O operation
7474 message : & ' static str ,
75- /// The I/O error that occured
75+ /// The I/O error that occurred
7676 error : io:: Error ,
7777 } ,
7878
@@ -145,7 +145,7 @@ pub enum DiskImageError {
145145 Io {
146146 /// Desciption of the failed I/O operation
147147 message : & ' static str ,
148- /// The I/O error that occured
148+ /// The I/O error that occurred
149149 error : io:: Error ,
150150 } ,
151151}
0 commit comments