広告が嫌いですか? 行く 広告なし 今日

Rust コード フォーマッタ

開発者文章
広告 ・ 取り除く?
広告 ・ 取り除く?

ガイド

Rust コード フォーマッタ

Format your Rust code following official rustfmt conventions. Paste your code, configure formatting options, and get clean, consistently styled output matching cargo fmt standards.

使い方

Paste your Rust code into the editor, select your preferred max line width (80, 100, or 120 characters) and Rust edition (2015, 2018, or 2021), then click Format. The formatted output appears with syntax highlighting, ready to copy or download as a .rs file.

特徴

  • Rustfmt Rules – 4-space indentation, trailing commas, consistent brace placement, and operator spacing
  • Configurable Max Width – Choose 80, 100, or 120 character line width
  • Edition Support – Format for Rust 2015, 2018, or 2021 edition
  • Syntax Highlighting – Color-coded Rust code in both input and output
  • Comment Preservation – Inline and block comments are kept intact
  • Download as .rs – Save formatted code directly as a Rust source file
  • Sample Code – Test with a pre-filled Rust example

広告 ・ 取り除く?
広告なしで楽しみたいですか? 今すぐ広告なしで

拡張機能をインストールする

お気に入りのブラウザにIOツールを追加して、すぐにアクセスし、検索を高速化します。

に追加 Chrome拡張機能 に追加 エッジ拡張 に追加 Firefox 拡張機能 に追加 Opera 拡張機能

スコアボードが到着しました!

スコアボード ゲームを追跡する楽しい方法です。すべてのデータはブラウザに保存されます。さらに多くの機能がまもなく登場します!

広告 ・ 取り除く?
広告 ・ 取り除く?
広告 ・ 取り除く?

ニュースコーナー 技術ハイライト付き

参加する

価値ある無料ツールの提供を継続するためにご協力ください

コーヒーを買って
広告 ・ 取り除く?