Remove commented out code
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
1 archivos · +0 −4
- src/compute/leaf.rs +0 −4
diff --git a/src/compute/leaf.rs b/src/compute/leaf.rs
index 2b567ccc4..6f95145db 100644
--- a/src/compute/leaf.rs
+++ b/src/compute/leaf.rs
@@ -120,10 +120,6 @@ pub(crate) fn compute(
let size = node_size.unwrap_or(measured_size).maybe_clamp(node_min_size, node_max_size);
let size = size.maybe_max(padding_border.sum_axes().map(Some));
- // let size = match sizing_mode {
- // SizingMode::ContentSize => size,
- // SizingMode::InherentSize => size.maybe_max(padding_border.sum_axes().map(Some)),
- // };
return SizeAndBaselines { size, first_baselines: Point::NONE };
}