没有合适的资源?快使用搜索试试~ 我知道了~
rust-quiz:中到困难的Rust问题及其解释
共116个文件
rs:37个
html:35个
md:34个
需积分: 10 0 下载量 153 浏览量
2021-04-28
18:13:30
上传
评论
收藏 173KB ZIP 举报
温馨提示
锈测验 这个Rust程序的输出是什么? 如果您喜欢Rust测验并且也了解C ++,则可以参考 ,它启发了这个项目。 贡献 我欢迎提出新的测验问题的建议,方法是在此存储库中提交GitHub问题,或者发送包含您的问题,提示,答案和答案说明的拉取请求。 最好的问题来自于编写或阅读Rust代码的个人经验,并对其行为感到困惑。 目标是不超过25行(包括空白行),但短于此更好。 如果没有更简洁的框架来表达相同的想法,那么最多可以接受35行的问题。 目标是不超过40列。 宽度上唯一的例外是明显的样板,无需阅读即可解决问题。 该网站显示了“未定义行为”和“不编译”的选择,但请您添加一些确实可以编译且定义明确的问题。 不好玩:“该程序可以编译还是不编译?” 不好玩:“这是未定义的行为还是不是?” 有趣的是:“这个印刷品是明显的可能性A还是明显的可能性B?” 要添加问题,您需要在questio
资源推荐
资源详情
资源评论
收起资源包目录
rust-quiz:中到困难的Rust问题及其解释 (116个子文件)
quiz.css 1KB
.gitignore 27B
index.html 6KB
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
index.html 13B
questions.js 79KB
quiz.js 8KB
LICENSE-CC-BY-SA 20KB
001-macro-count-statements.md 5KB
027-subtrait-dispatch.md 4KB
011-function-pointer-comparison.md 4KB
021-closure-or-logical-or.md 3KB
README.md 3KB
030-clone-pointers.md 2KB
024-local-and-const-hygiene.md 2KB
007-surprise-wildcard-match.md 2KB
020-break-return-in-condition.md 2KB
008-tokenize-punctuation.md 2KB
010-shadowed-trait-object-method.md 2KB
003-mutate-const.md 2KB
009-opaque-metavariable.md 2KB
033-range-full-method.md 1KB
031-method-lookup.md 1KB
028-underscore-prefix.md 1KB
022-macro-tokenize-number.md 1KB
004-dotdot-in-tuple.md 1KB
013-mutable-zst.md 1KB
032-or-pattern-guard.md 1KB
005-trait-resolution-hrtb.md 1KB
023-inherent-vs-trait-method.md 1KB
025-unit-infallible-match.md 1KB
006-value-of-assignment.md 1KB
029-tuple-trailing-commas.md 1005B
014-trait-autoref.md 984B
016-prefix-decrement.md 941B
002-bitand-or-reference.md 919B
017-unary-decrement.md 897B
012-binding-drop-behavior.md 841B
026-iterator-lazy-map.md 821B
015-inference-of-number-type.md 709B
018-method-or-function-pointer.md 606B
019-dropped-by-underscore.md 432B
screenshot.png 85KB
render.rs 5KB
serve.rs 3KB
error.rs 1KB
main.rs 1KB
014-trait-autoref.rs 515B
021-closure-or-logical-or.rs 508B
022-macro-tokenize-number.rs 456B
027-subtrait-dispatch.rs 412B
031-method-lookup.rs 387B
029-tuple-trailing-commas.rs 356B
010-shadowed-trait-object-method.rs 349B
033-range-full-method.rs 347B
020-break-return-in-condition.rs 346B
005-trait-resolution-hrtb.rs 326B
012-binding-drop-behavior.rs 321B
030-clone-pointers.rs 321B
025-unit-infallible-match.rs 321B
023-inherent-vs-trait-method.rs 318B
002-bitand-or-reference.rs 311B
007-surprise-wildcard-match.rs 264B
001-macro-count-statements.rs 256B
015-inference-of-number-type.rs 221B
024-local-and-const-hygiene.rs 219B
008-tokenize-punctuation.rs 218B
026-iterator-lazy-map.rs 217B
共 116 条
- 1
- 2
资源评论
Dr熊吉
- 粉丝: 30
- 资源: 4603
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功