This commit is contained in:
daa 2017-04-23 11:48:00 +03:00
parent 910baed09e
commit da82d2dd88
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ mod tests {
#[test]
fn test_mode() {
let mode = RepaintMode::Area(ModelRect::point(1, 1));
mode.join(&RepaintMode::Nothing);
let mode = mode.join(RepaintMode::Nothing);
match mode {
RepaintMode::Area(ref rect) => {