Skip to content

Commit edc0235

Browse files
committed
chore: fix some minor issues in the comments
Signed-off-by: bytetigers <bytetiger@icloud.com>
1 parent 604f63d commit edc0235

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/machine/asm/execute_x64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
* addq $8, INST_PC
370370
* jmp *-8(TEMP1)
371371
*
372-
* Even though this would save us one instruction to exectue, keeping the jump
372+
* Even though this would save us one instruction to execute, keeping the jump
373373
* target in TEMP1 actually aids branch predictor for better performance.
374374
*/
375375
#define NEXT_INST \

src/snapshot2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl<I: Clone + PartialEq, D: DataSource<I>> Snapshot2Context<I, D> {
237237
self.track_pages(machine, start, length, id, offset + action.source.start)
238238
}
239239

240-
/// The followings are only made public for advanced usages, but make sure to exercise more
240+
/// The following are only made public for advanced usages, but make sure to exercise more
241241
/// cautions when calling it!
242242
pub fn track_pages<M: SupportMachine>(
243243
&mut self,

0 commit comments

Comments
 (0)