@@ -69,7 +69,7 @@ impl AppAttributes {
6969 let mut apps_counter = 0 ;
7070 let mut apps_details: Vec < AppAttributes > = vec ! [ ] ;
7171
72- // All aplications are stored sequentially in memory, so we read until
72+ // All applications are stored sequentially in memory, so we read until
7373 // we fail to parse.
7474 loop {
7575 let mut appdata = vec ! [ 0u8 ; 8 ] ;
@@ -112,7 +112,7 @@ impl AppAttributes {
112112 // footer.
113113 //
114114 // TODO(george-cosma): This is not always true, `get_binary_end`
115- // does not make sense if the appliccation is just padding. This can
115+ // does not make sense if the application is just padding. This can
116116 // crash the process.
117117 let binary_end_offset = header. get_binary_end ( ) ;
118118
@@ -176,18 +176,18 @@ impl AppAttributes {
176176 let mut apps_counter = 0 ;
177177 let mut apps_details: Vec < AppAttributes > = vec ! [ ] ;
178178
179- // All aplications are stored sequentially in memory, so we read until
179+ // All applications are stored sequentially in memory, so we read until
180180 // we fail to parse.
181181 loop {
182- // The tockloader protocol only supports 32-bit architechtures ,
182+ // The tockloader protocol only supports 32-bit architectures ,
183183 // though in the future support will be extended to 64-bit.
184184 let mut pkt = ( appaddr as u32 ) . to_le_bytes ( ) . to_vec ( ) ;
185185 let length = ( 8_u16 ) . to_le_bytes ( ) . to_vec ( ) ;
186186 for i in length {
187187 pkt. push ( i) ;
188188 }
189189
190- // Read the first 8 bytes, which is the lenght of a TLV header.
190+ // Read the first 8 bytes, which is the length of a TLV header.
191191 let ( _, appdata) =
192192 issue_command ( port, Command :: ReadRange , pkt, true , 8 , Response :: ReadRange ) . await ?;
193193
0 commit comments