搜索

3.4. 其他资源

download PDF
  • 要显示 rustfmt 的帮助页面,请运行:

    • 在 Red Hat Enterprise Linux 7 上:

      $ scl enable rust-toolset-1.66 'rustfmt --help'
    • 在 Red Hat Enterprise Linux 8 中:

      $ rustfmt --help
    • 在 Red Hat Enterprise Linux 9 中:

      $ rustfmt --help
  • 要配置 rustfmt 工具,请编辑文件 Configuration .md

    • 在 Red Hat Enterprise Linux 7 中,您可以在以下路径中找到:

      /opt/rh/rust-toolset-1.66/root/usr/share/doc/rust-toolset-1.66-rustfmt-1.66.1/Configurations.md

    • 在 Red Hat Enterprise Linux 8 中,您可以在以下路径中找到:

      /usr/share/doc/rustfmt/Configurations.md

    • 在 Red Hat Enterprise Linux 9 中,您可以在以下路径中找到:

      /usr/share/doc/rustfmt/Configurations.md

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.