We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a976272 commit 38255a3Copy full SHA for 38255a3
float-pigment-forest/src/node.rs
@@ -280,7 +280,7 @@ impl Node {
280
*self.baseline_cache.get() = Some(Box::new(LruCache::new(CACHE_SIZE)));
281
}
282
283
-
+ #[allow(clippy::mut_from_ref)]
284
#[inline(always)]
285
pub(crate) unsafe fn measure_cache(&self) -> Option<&mut MeasureCache> {
286
if self.node_type() != NodeType::Text {
@@ -295,6 +295,7 @@ impl Node {
295
296
297
298
299
300
pub(crate) unsafe fn baseline_cache(&self) -> Option<&mut BaselineCache> {
301
0 commit comments