Update assignment01.rs

This commit is contained in:
Jongseo Lee (JS)
2022-08-30 11:31:11 +09:00
committed by GitHub
parent 1b2b4ef0df
commit 953ca31f93

View File

@@ -13,7 +13,7 @@ pub(crate) fn add(lhs: usize, rhs: usize) -> usize {
todo!() todo!()
} }
/// Subs two unsigned words. If overflow happens, just wrap around. /// Subtracts two unsigned words. If overflow happens, just wrap around.
pub(crate) fn sub(lhs: usize, rhs: usize) -> usize { pub(crate) fn sub(lhs: usize, rhs: usize) -> usize {
todo!() todo!()
} }