class='rust rust-example-rendered'>
<span class='attribute'>#[<span class='ident'>test</span>]</span></pre>

<!-- or like this: -->

<p>または以下のように:</p>

<span class='rusttest'>fn main() {
    mod foo {
#![test]
}
}</span><pre class='rust rust-example-rendered'>
<span class='attribute'>#<span class='op'>!</span>[<span class='ident'>test</span>]</span></pre>

<!-- The difference between the two is the `!`, which changes what the attribute  -->

<!-- applies to: -->

<p>２つの違いは <cod