Skip to content

Commit 98e973c

Browse files
committed
fix async sanitizing
1 parent d2fb516 commit 98e973c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Keyword sanitizing (`async`)
13+
1014
### Changed
1115

1216
- [breaking-change] Among other cleanups, MSP430 crates are now expected to

src/util.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ impl ToSanitizedSnakeCase for str {
6868
abstract,
6969
alignof,
7070
as,
71-
r#async,
72-
r#await,
71+
async,
72+
await,
7373
become,
7474
box,
7575
break,
@@ -109,7 +109,7 @@ impl ToSanitizedSnakeCase for str {
109109
super,
110110
trait,
111111
true,
112-
r#try,
112+
try,
113113
type,
114114
typeof,
115115
unsafe,

0 commit comments

Comments
 (0)