aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuiRuTian <[email protected]>2021-01-09 17:39:40 +0000
committerShuiRuTian <[email protected]>2021-01-09 17:39:40 +0000
commit64240a44bec83da2a51a887aac3520110977a7e1 (patch)
treeb9809547161483b59039a36f9639d84cd7c043f3
parent0d86e222297233387ad4abc2796dfd27c5333aaa (diff)
not track my analytics
-rw-r--r--analytics.md42
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
3change module system and `use` clauses.
4
5This 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
11each 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
15logic module could be seen as `namespace`.
16
17Only logic module matters.
18
19### module tree
20
21only 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
331. path attribute
34if some module is declared by `#[path = "filePath"]`, only update the `filePath`.
35
362. not update `mod.rs` change, like to `mod1.rs`
37
383. for folder name change(not add more subfolders), equal to change its `mod.rs`.
39
404. However, mod could be declared through `mod XX {}` in its ancestor file.
41
425. Key: How to update? Through semantic tree, or plain text? I worry the former one is not that clever.