aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/codegen/module.rs')
-rw-r--r--macros/src/codegen/module.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs
index 5a594c66..e15aab1c 100644
--- a/macros/src/codegen/module.rs
+++ b/macros/src/codegen/module.rs
@@ -319,18 +319,6 @@ pub fn codegen(
marker: u32,
}
- // TODO: remove
- impl core::fmt::Debug for SpawnHandle
- {
- fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
- let handle = unsafe { &#app_path::#tq as *const _ as u32 };
- f.debug_struct("SpawnHandle")
- .field("marker", &self.marker)
- .field("handle", &handle)
- .finish()
- }
- }
-
impl SpawnHandle {
pub fn cancel(self) -> Result<#ty, ()> {
rtic::export::interrupt::free(|_| unsafe {