diff options
| author | Mica White <botahamec@outlook.com> | 2026-05-09 13:35:56 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-05-09 13:35:56 -0400 |
| commit | 91b63446f7a211220ccddaaecb602cbc0476ab41 (patch) | |
| tree | faee0e511b21656dea580f5b2e3761bba1ceda51 /src | |
| parent | cec300b0f3bff20e774b4163e9aab1c048be1ffb (diff) | |
Setup rustfmt
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,14 +1,14 @@ pub fn add(left: u64, right: u64) -> u64 { - left + right + left + right } #[cfg(test)] mod tests { - use super::*; + use super::*; - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); - } + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } } |
