@@ -18,7 +18,7 @@ pub enum BuildKernelError {
18
18
Io {
19
19
/// Desciption of the failed I/O operation
20
20
message : & ' static str ,
21
- /// The I/O error that occured
21
+ /// The I/O error that occurred
22
22
error : io:: Error ,
23
23
} ,
24
24
@@ -49,7 +49,7 @@ pub enum BuildKernelError {
49
49
#[ non_exhaustive]
50
50
pub enum CreateBootimageError {
51
51
/// 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}" ) ]
53
53
Bootloader ( #[ from] BootloaderError ) ,
54
54
55
55
/// Error while running `cargo metadata`
@@ -64,15 +64,15 @@ pub enum CreateBootimageError {
64
64
} ,
65
65
66
66
/// 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}" ) ]
68
68
DiskImage ( #[ from] DiskImageError ) ,
69
69
70
70
/// An unexpected I/O error occurred
71
71
#[ error( "I/O error: {message}:\n {error}" ) ]
72
72
Io {
73
73
/// Desciption of the failed I/O operation
74
74
message : & ' static str ,
75
- /// The I/O error that occured
75
+ /// The I/O error that occurred
76
76
error : io:: Error ,
77
77
} ,
78
78
@@ -145,7 +145,7 @@ pub enum DiskImageError {
145
145
Io {
146
146
/// Desciption of the failed I/O operation
147
147
message : & ' static str ,
148
- /// The I/O error that occured
148
+ /// The I/O error that occurred
149
149
error : io:: Error ,
150
150
} ,
151
151
}
0 commit comments