Rename size_of_is_0! as malloc_size_of_is_0!.

The new name makes it clearer that it comes from the `malloc_size_of`
crate.
This commit is contained in:
Nicholas Nethercote 2017-10-18 14:26:56 +11:00
parent ac74cd57a2
commit a26d25db12
3 changed files with 12 additions and 12 deletions

View file

@ -72,7 +72,7 @@ pub mod system_colors {
// It's hard to implement MallocSizeOf for LookAndFeel_ColorID because it
// is a bindgen type. So we implement it on the typedef instead.
size_of_is_0!(SystemColor);
malloc_size_of_is_0!(SystemColor);
impl ToCss for SystemColor {
fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {