Stop calling is_not_null.

It has been removed from Rust.
This commit is contained in:
Ms2ger 2015-01-20 13:08:49 +01:00
parent 2629445748
commit 7eb659371d
6 changed files with 26 additions and 28 deletions

View file

@ -1149,7 +1149,7 @@ impl ScaledFontExtensionMethods for ScaledFont {
let target = rctx.get_draw_target();
let pattern = ColorPattern::new(color);
let azure_pattern = pattern.azure_color_pattern;
assert!(azure_pattern.is_not_null());
assert!(!azure_pattern.is_null());
let fields = if antialias {
0x0200