diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-01-31 16:06:44 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-01-31 16:47:00 +0100 |
| commit | 20b1a38414101f842a6d9201133a5aaaa45a7cec (patch) | |
| tree | 2365453d4dfdebfa11d618baad1a36c65b62d7c7 /src/library/image.rs | |
| parent | fa57d86ed981373b66804972147bf59cab920e6b (diff) | |
Switch from `Rc` to `Arc`
Diffstat (limited to 'src/library/image.rs')
| -rw-r--r-- | src/library/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/image.rs b/src/library/image.rs index a5423ccb..06b3fe31 100644 --- a/src/library/image.rs +++ b/src/library/image.rs @@ -44,7 +44,7 @@ impl Layout for ImageNode { ctx: &mut LayoutContext, regions: &Regions, styles: StyleChain, - ) -> Vec<Constrained<Rc<Frame>>> { + ) -> Vec<Constrained<Arc<Frame>>> { let img = ctx.images.get(self.0); let pxw = img.width() as f64; let pxh = img.height() as f64; |
