From 029cb0368421387e64c17b149308553ed578bf32 Mon Sep 17 00:00:00 2001 From: Axiom Bot <0xAxiom@users.noreply.github.com> Date: Thu, 14 May 2026 18:29:34 -0700 Subject: [PATCH] docs: fix duplicate words and 'subwrod' typos in cannon NatSpec - src/cannon/MIPS64.sol: 'the the subword' -> 'the subword'; 'subwrod' -> 'subword' - src/cannon/libraries/MIPS64Instructions.sol: 'the the subword' -> 'the subword'; 'subwrod' -> 'subword' Comment-only changes; no behavior change. --- src/cannon/MIPS64.sol | 4 ++-- src/cannon/libraries/MIPS64Instructions.sol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cannon/MIPS64.sol b/src/cannon/MIPS64.sol index 0bf50c8ad..f9c925087 100644 --- a/src/cannon/MIPS64.sol +++ b/src/cannon/MIPS64.sol @@ -359,9 +359,9 @@ contract MIPS64 is ISemver { } /// @notice Loads a subword of byteLength size contained from memory based on the low-order bits of vaddr - /// @param _vaddr The virtual address of the the subword. + /// @param _vaddr The virtual address of the subword. /// @param _byteLength The size of the subword. - /// @param _signExtend Whether to sign extend the selected subwrod. + /// @param _signExtend Whether to sign extend the selected subword. function loadSubWord( State memory _state, uint64 _vaddr, diff --git a/src/cannon/libraries/MIPS64Instructions.sol b/src/cannon/libraries/MIPS64Instructions.sol index b5484440c..8447305cc 100644 --- a/src/cannon/libraries/MIPS64Instructions.sol +++ b/src/cannon/libraries/MIPS64Instructions.sol @@ -880,10 +880,10 @@ library MIPS64Instructions { } /// @notice Selects a subword of byteLength size contained in memWord based on the low-order bits of vaddr - /// @param _vaddr The virtual address of the the subword. + /// @param _vaddr The virtual address of the subword. /// @param _memWord The full word to select a subword from. /// @param _byteLength The size of the subword. - /// @param _signExtend Whether to sign extend the selected subwrod. + /// @param _signExtend Whether to sign extend the selected subword. function selectSubWord( uint64 _vaddr, uint64 _memWord,