5 Star 7 Fork 5

Gitee 极速下载/veloren

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/veloren/veloren
克隆/下载
clippy.toml 973 Bytes
一键复制 编辑 原始数据 按行查看 历史
# TODO: do we want to use `#[deny(clippy::disallowed_method)]` to disallow all unwraps (possibly only in non-test code)?
#disallowed-methods = [
# "std::option::Option::unwrap",
# "std::result::Result::unwrap",
#]
# The `too_many_arguments`, `many_single_char_names`, and `type_complexity`
# lints give sufficiently many false positives that they're worth disabling
# globally via raising their thresholds.
# `too_many_arguments` often flags `new` methods on structs that legitimately
# ought to have many parameters
too-many-arguments-threshold = 15
# `many_single_char_names` often triggers for geometry or physics code with an
# associated diagram, where the short names are points in the diagram.
single-char-binding-names-threshold = 8
# `type_complexity` often triggers for the RHS of an associated type: it's
# telling you that a type is complicated enough to need a name, at the point
# where you're giving it a name.
type-complexity-threshold = 750
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/mirrors/veloren.git
git@gitee.com:mirrors/veloren.git
mirrors
veloren
veloren
master

搜索帮助