{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreickap6kypwx4yx5raiigm7nsf476hx4w6ybp4l2irgcpjlltkmlhm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mm5ymi4k4xp2"
},
"path": "/t/could-you-borrow-a-bit/24300#post_9",
"publishedAt": "2026-05-18T05:42:10.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"align_of::<bool>() == 1"
],
"textContent": "bascule:\n\n> or does the layout of `&bool` prevent that\n\nThis you can work out yourself.\n\nThere are `usize::MAX` possible places a `bool` could be, because align_of::<bool>() == 1.\n\n`&bool` is non-null, so it has exactly `usize::MAX` possible value.\n\nThus all possible values are accounted for and there's no space to add bit information.\n\n(Plus we wouldn't do that anyway, for other reasons.)",
"title": "Could you borrow a bit?"
}