diff options
author | ShuiRuTian <[email protected]> | 2021-01-09 17:39:40 +0000 |
---|---|---|
committer | ShuiRuTian <[email protected]> | 2021-01-09 17:39:40 +0000 |
commit | 64240a44bec83da2a51a887aac3520110977a7e1 (patch) | |
tree | b9809547161483b59039a36f9639d84cd7c043f3 | |
parent | 0d86e222297233387ad4abc2796dfd27c5333aaa (diff) |
not track my analytics
-rw-r--r-- | analytics.md | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/analytics.md b/analytics.md deleted file mode 100644 index 0dccc29c1..000000000 --- a/analytics.md +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | # file name change | ||
2 | |||
3 | change module system and `use` clauses. | ||
4 | |||
5 | This means we would not change all possiable places for now.(I think this is hard to implement even in future.) | ||
6 | |||
7 | ## module system | ||
8 | |||
9 | ### physical module and logic module | ||
10 | |||
11 | each file and folder(lib.rs in the folder) is a physical module. | ||
12 | |||
13 | `use` and `pub` could import and export module as logic. | ||
14 | |||
15 | logic module could be seen as `namespace`. | ||
16 | |||
17 | Only logic module matters. | ||
18 | |||
19 | ### module tree | ||
20 | |||
21 | only update the module which is included in the main branch. | ||
22 | |||
23 | ### module declaration | ||
24 | |||
25 | > logic module could be defined in its ancestor's folder. | ||
26 | |||
27 | > module | ||
28 | |||
29 | ## use clauses | ||
30 | |||
31 | ## NOTE | ||
32 | |||
33 | 1. path attribute | ||
34 | if some module is declared by `#[path = "filePath"]`, only update the `filePath`. | ||
35 | |||
36 | 2. not update `mod.rs` change, like to `mod1.rs` | ||
37 | |||
38 | 3. for folder name change(not add more subfolders), equal to change its `mod.rs`. | ||
39 | |||
40 | 4. However, mod could be declared through `mod XX {}` in its ancestor file. | ||
41 | |||
42 | 5. Key: How to update? Through semantic tree, or plain text? I worry the former one is not that clever. | ||