feat(macros) add panic_with_log

This commit is contained in:
lumither committed 2024-11-19 00:33:09 -08:00
1 parent a123ff9f3f
commit c7e3b12856
7 files changed
+74 -64

No files matched your search

+1 -14
View File
@@ -1,14 +1 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
mod log;