Skip to content

Commit 813aa77

Browse files
author
Nathaniel Ringo
committed
Adds isize and unit impls for Trace, Finalize.
1 parent d8252ae commit 813aa77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gc"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Manish Goregaokar <[email protected]>", "Michael Layzell <[email protected]>"]
55
description = "Tracing garbage collector plugin for Rust. Not ready for use yet, please see README"
66
repository = "https://github.com/Manishearth/rust-gc"

gc/src/trace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ macro_rules! simple_empty_finalize_trace {
109109
}
110110
}
111111

112-
simple_empty_finalize_trace![usize, bool, i8, u8, i16, u16, i32, u32, i64, u64, f32, f64, String];
112+
simple_empty_finalize_trace![(), isize, usize, bool, i8, u8, i16, u16, i32, u32, i64, u64, f32, f64, String];
113113

114114
impl<T: Trace> Finalize for Box<T> {}
115115
unsafe impl<T: Trace> Trace for Box<T> {

0 commit comments

Comments
 (0)