Proposal:将示例代码整理成crate#399
Closed
Librazy wants to merge 4 commits intorustcc:masterfrom
Closed
Conversation
Contributor
Member
|
赞 |
Member
|
@Librazy 是每一个小节都弄一个 crate 么,这样做会不会有点多啊~要不要每章弄一个合在一起? |
Member
|
意思是维护两份代码,章节里面内嵌的代码另外再 copy 一份出来放在 src 目录下面?如果是这样的话我觉得很不合适,我个人更倾向于做成 Rust 官方 Book 或 rustbyexample 那样可点击运行的,这样代码总是和章节内容紧密相关并且是同步更新的 |
Member
|
仔细看了下 #387 提议挺不错的,只用维护一份代码 |
Contributor
Author
|
@Naupio 我也觉得这样太散了一些,在考虑要不要使用模块来整理。 |
Contributor
|
@Librazy closed? |
Contributor
Author
|
= =咦?不知道什么情况估计是不小心点到关了 |
# Conflicts: # quickstart/comments-document.md
Member
|
@Librazy close ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
现在刚刚开了一个头,等到有阶段性成果的时候再合。
大概思路就是把代码整理出来放在src底下。