message: changed `match` to `if let`
diff: @@ -352,9 +352,8 @@ impl Text {
  /// TODO: Should these return f32 rather than u32?
  pub fn dimensions(&self, context: &Context) -> (u32, u32) {
  if let Ok(metrics) = self.cached_metrics.read() {
  - match (metrics.width, metrics.height) {
  - (Some(width), Some(height)) => return (width, height),
  - _ => {}
  + if let (Some(width), Some(height)) = (metrics.width, metrics.height) {
  + return (width, height);
  }
  }
  self.calculate_dimensions(context)
  