Skip to main content

unarmour

Function unarmour 

Source
pub fn unarmour(name: &str) -> &str
Expand description

__packed__ and packed are the same attribute.

This is public because lookup is not the only thing that has to know it. Anything that reads a name out of an attribute list and compares it against a spelling has the same question, and a header writes the armoured form precisely so that a program’s own macro called packed cannot take the plain one, so a compiler that only knows the plain one reads the wrong layout out of a header that was careful.