Skip to content

Commit 20cdd28

Browse files
committed
Update ident API usage in cross checking instrumentation
1 parent d4aa932 commit 20cdd28

File tree

1 file changed

+1
-1
lines changed
  • cross-checks/rust-checks/config/src/attr

1 file changed

+1
-1
lines changed

cross-checks/rust-checks/config/src/attr/syntax.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn get_item_args(mi: &ast::MetaItem) -> ArgList<Ident> {
4343
}
4444

4545
fn parse_xcheck_type(name: &Ident, arg: &ArgValue<Ident>) -> XCheckType {
46-
match name.as_str().get() {
46+
match name.as_str() {
4747
"default" => XCheckType::Default,
4848
"none" => XCheckType::None,
4949
"disabled" => XCheckType::Disabled,

0 commit comments

Comments
 (0)