Merge pull request #46 from alexcrichton/gnzlbg-patch-1

Fix typo
This commit is contained in:
gnzlbg 2018-05-17 23:32:16 +02:00 committed by GitHub
commit 9da27b39dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ const MIN_ALIGN: usize = 8;
const MIN_ALIGN: usize = 16; const MIN_ALIGN: usize = 16;
fn layout_to_flags(align: usize, size: usize) -> c_int { fn layout_to_flags(align: usize, size: usize) -> c_int {
// If our alignment is less than the minimum alignment they we may not // If our alignment is less than the minimum alignment, then we may not
// have to pass special flags asking for a higher alignment. If the // have to pass special flags asking for a higher alignment. If the
// alignment is greater than the size, however, then this hits a sort of odd // alignment is greater than the size, however, then this hits a sort of odd
// case where we still need to ask for a custom alignment. See #25 for more // case where we still need to ask for a custom alignment. See #25 for more