This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
dora-rs
/
dora
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
124
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Change the way reserved words are escaped
tags/v0.2.5-alpha.2
Yuma Hiramatsu
4 years ago
parent
5aabba27cc
commit
effc42686e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
rclrust-msg-gen/src/types/message.rs
+ 1
- 1
rclrust-msg-gen/src/types/message.rs
View File
@@ -27,7 +27,7 @@ impl Member {
fn name_token(&self) -> impl ToTokens {
if RUST_KEYWORDS.contains(&self.name.as_str()) {
format_ident!("
r#
{}", self.name)
format_ident!("{}
_
", self.name)
} else {
format_ident!("{}", self.name)
}
Write
Preview
Loading…
Cancel
Save