message: Use as_ref() instead of &*
diff: @@ -78,20 +78,20 @@ impl ReadonlyStorage for ExternalStorage {
  (None, None) => unsafe { db_scan(0, 0, order) },
  (Some(s), None) => {
  let start = build_region(s);
  - let start_ptr = &*start as *const Region as u32;
  - unsafe { db_scan(start_ptr, 0, order) }
  + let start_ptr = start.as_ref() as *const Region;
  + unsafe { db_scan(start_ptr as u32, 0, order) }
  }
  (None, Some(e)) => {
  let end = build_region(e);
  - let end_ptr = &*end as *const Region as u32;
  - unsafe { db_scan(0, end_ptr, order) }
  + let end_ptr = end.as_ref() as *const Region;
  + unsafe { db_scan(0, end_ptr as u32, order) }
  }
  (Some(s), Some(e)) => {
  let start = build_region(s);
  - let start_ptr = &*start as *const Region as u32;
  + let start_ptr = start.as_ref() as *const Region;
  let end = build_region(e);
  - let end_ptr = &*end as *const Region as u32;
  - unsafe { db_scan(start_ptr, end_ptr, order) }
  + let end_ptr = end.as_ref() as *const Region;
  + unsafe { db_scan(start_ptr as u32, end_ptr as u32, order) }
  }
  };
  let iter = ExternalIterator { iterator_id };
  