Skip to content

Commit

Permalink
Update lightproc/src/layout_helpers.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Matthieu Le brazidec <matthieu@lebrazidec.email>
  • Loading branch information
vertexclique and r3v2d0g committed Oct 24, 2019
1 parent a758aea commit b793f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightproc/src/layout_helpers.rs
Expand Up @@ -2,7 +2,7 @@ use std::alloc::Layout;
use std::io::{Error, ErrorKind};

#[inline]
pub fn extend(layout: Layout, next: Layout) -> (Layout, usize) {
pub(crate) fn extend(layout: Layout, next: Layout) -> (Layout, usize) {
let new_align = std::cmp::max(layout.align(), next.align());
let pad = padding_needed_for(layout, next.align());

Expand Down

0 comments on commit b793f74

Please sign in to comment.