mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-15 22:48:45 +00:00
polish
This commit is contained in:
12
src/assignments/assignment01/small_exercises.rs
Normal file
12
src/assignments/assignment01/small_exercises.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
//! Assignment 1: Preparing Rust Development Environment.
|
||||
//! Welcome to the CS220 course!
|
||||
|
||||
/// Adds two unsigned words. If overflow happens, just wrap around.
|
||||
pub fn add(lhs: usize, rhs: usize) -> usize {
|
||||
todo!()
|
||||
}
|
||||
|
||||
/// Subtracts two unsigned words. If overflow happens, just wrap around.
|
||||
pub fn sub(lhs: usize, rhs: usize) -> usize {
|
||||
todo!()
|
||||
}
|
||||
Reference in New Issue
Block a user