mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2025-02-19 23:12:50 +00:00
Split #[
into separate tokens
This commit is contained in:
parent
686b59b4f7
commit
fbef23468b
@ -91,7 +91,8 @@ mod printing {
|
||||
|
||||
impl ToTokens for Attribute {
|
||||
fn to_tokens(&self, tokens: &mut Tokens) {
|
||||
tokens.append("#[");
|
||||
tokens.append("#");
|
||||
tokens.append("[");
|
||||
self.value.to_tokens(tokens);
|
||||
tokens.append("]");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user