Commit adffee0 1 parent 78cd000 commit adffee0 Copy full SHA for adffee0
File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Build
2
2
on :
3
3
push :
4
4
branches : [ "master" ]
Original file line number Diff line number Diff line change
1
+ ![ Build] ( https://github.com/AndreiPashkin/compose-idents/actions/workflows/build.yml/badge.svg )
2
+
1
3
# compose-idents
2
4
3
5
A procedural macro that allows to construct identifiers from one or more arbitrary parts.
4
6
5
7
## Motivation
6
8
7
- Rust's declarative macros do not allow generating new identifiers, because they are designed to operate on
8
- the syntactic level (as opposed to the lexical level) using simple pattern matching.
9
+ Rust's declarative macros do not allow generating new identifiers, because they are designed to operate on
10
+ the syntactic level (as opposed to the lexical level) using simple pattern matching.
9
11
10
- For example the following code won't work:
12
+ For example the following code won't work:
11
13
``` rust
12
14
macro_rules! my_macro {
13
15
($ name : ident ) => {
You can’t perform that action at this time.
0 commit comments