diff --git a/locales/en-US/learn.ftl b/locales/en-US/learn.ftl index 81364115b..c61697955 100644 --- a/locales/en-US/learn.ftl +++ b/locales/en-US/learn.ftl @@ -102,7 +102,6 @@ learn-generating-steps =
Let’s write a small application with our new Rust { $tree }
Cargo.toml is the manifest file for Rust. It’s where you keep metadata for your project, as well as dependencies.
src/main.rs is where we’ll write our application code.
cargo new generates a "Hello, world!" project for us! We can run this program by moving into the new directory that we made and running this in our terminal:
cargo run
You should see this in your terminal:
diff --git a/locales/es/learn.ftl b/locales/es/learn.ftl index cebd62f4b..0f15db552 100644 --- a/locales/es/learn.ftl +++ b/locales/es/learn.ftl @@ -78,7 +78,6 @@ learn-generating-steps = { $tree }Cargo.toml es el archivo de manifiesto de Rust. Es donde mantenemos los metadatos del proyecto, así como la declaración de dependencias.
src/main.rs es donde escribimos el código de nuestra aplicación.
cargo new genera un proyecto de "Hello, world" para nosotros. Podemos ejecutar el programa si nos movemos al nuevo directorio recién creado ejecutando en tu terminal:
cargo run
Deberías ver esto en tu terminal:
diff --git a/locales/fr/learn.ftl b/locales/fr/learn.ftl index 35e0a5fb4..ac9609b70 100644 --- a/locales/fr/learn.ftl +++ b/locales/fr/learn.ftl @@ -77,7 +77,6 @@ learn-generating-steps = { $tree }Cargo.toml est le fichier manifeste de Rust. C'est là que vous gardez les métadonnées pour votre projet, ainsi que les dépendances.
src/main.rs est l'endroit où vous écrirez le code de notre application.
cargo new génère pour nous un projet "Hello, world!". Nous pouvons exécuter ce programme en se déplaçant dans le nouveau répertoire que nous avons créé et en exécutant ceci dans notre terminal :
cargo run
Vous devriez voir ceci dans votre terminal :
diff --git a/locales/it/learn.ftl b/locales/it/learn.ftl index 34e08ec3f..72b13e5e9 100644 --- a/locales/it/learn.ftl +++ b/locales/it/learn.ftl @@ -77,7 +77,6 @@ learn-generating-steps = { $tree }Cargo.toml è il manifest per i progetti Rust. Contiene i metadati, così come l'elenco delle dipendenze.
src/main.rs il file che conterrà il codice della nostra applicazione.
cargo new crea un progetto del tipo "Hello, world!"! Possiamo eseguire questo programma scendendo nella directory che abbiamo appena creato e poi lanciare:
cargo run
Questo l'output che dovrebbe apparire sulla console:
diff --git a/locales/ja/learn.ftl b/locales/ja/learn.ftl index 6a180614c..8a2c8d083 100644 --- a/locales/ja/learn.ftl +++ b/locales/ja/learn.ftl @@ -78,7 +78,6 @@ learn-generating-steps = { $tree }Cargo.tomlはRust用のマニフェストファイルです。プロジェクトのメタデータに加え依存関係も記録されます。
src/main.rsがアプリケーションのコードを書く場所です。
cargo newは「Hello, world!」プロジェクトを生成します!ターミナルで作成した新しいディレクトリに移動し、以下を実行することでこのプログラムを実行できます:
cargo run
以下の出力が得られるはずです:
diff --git a/locales/pt-BR/learn.ftl b/locales/pt-BR/learn.ftl index b9a13978a..f17820982 100644 --- a/locales/pt-BR/learn.ftl +++ b/locales/pt-BR/learn.ftl @@ -78,7 +78,6 @@ learn-generating-steps = { $tree }Cargo.toml é o manifesto de um projeto Rust. Aqui você encontra todos os metadados do projeto, assim como as declarações de dependência.
src/main.rs é onde nos vamos escrever nossa aplicação.
cargo new gera um projeto "Hello, world!" para você! Você pode executar esse programa entrando no diretório recém criado e executando o seguinte no seu terminal:
cargo run
Você deveria ver a seguinte saída no terminal:
diff --git a/locales/ru/learn.ftl b/locales/ru/learn.ftl index 5fa4da955..bd17c7ea4 100644 --- a/locales/ru/learn.ftl +++ b/locales/ru/learn.ftl @@ -77,7 +77,6 @@ learn-generating-steps = { $tree }Cargo.toml - это файл манифеста. Здесь хранятся метаданные вашего проекта, такие как описание.
В файле src/main.rs вы пишете код приложения.
cargo new создал для нас проект "Hello, world!". Для запуска этой программы мы перейдём в директорию, которая была создана, и запустим в терминале:
cargo run
Вы должны увидеть следующее:
diff --git a/locales/tr/learn.ftl b/locales/tr/learn.ftl index acf52cb9a..7f78ad1a0 100644 --- a/locales/tr/learn.ftl +++ b/locales/tr/learn.ftl @@ -78,7 +78,6 @@ learn-generating-steps = { $tree }Cargo.toml, Rust için manifesto dosyasıdır. Burası projenizin metaverisini sakladığınız yer olmakla birlikte, bağımlılıkların da belirtildiği yerdir.
Uygulama kodunuzun bulunduğu yer ise src/main.rs'dir.
cargo new, bizim için yeni bir "Merhaba, dünya!" projesi oluşturur! Bu programı yeni bir dizine taşıyıp, aşağıdaki kodla uçbirimimizde çalıştırabiliriz:
cargo run
Uçbiriminizde şu çıktıyı almanız gerekmektedir:
diff --git a/locales/zh-CN/learn.ftl b/locales/zh-CN/learn.ftl index 40fd9d4aa..0ee3cdf62 100644 --- a/locales/zh-CN/learn.ftl +++ b/locales/zh-CN/learn.ftl @@ -81,7 +81,6 @@ learn-generating-steps = { $tree }Cargo.toml 为 Rust 的清单文件。其中包含了项目的元数据和依赖库。
src/main.rs 为编写应用代码的地方。
cargo new 会生成一个新的“Hello, world!”项目!我们可以进入新创建的目录中,执行下面的命令来运行此程序:
cargo run
您应该会在终端中看到如下内容:
diff --git a/locales/zh-TW/learn.ftl b/locales/zh-TW/learn.ftl index 222a91ee5..b77d4c9cc 100644 --- a/locales/zh-TW/learn.ftl +++ b/locales/zh-TW/learn.ftl @@ -78,7 +78,6 @@ learn-generating-steps = { $tree }Cargo.toml 是 Rust 的 manifest 檔案,它是保存專案 metadata 與相依套件資訊的地方。
src/main.rs 是我們要編寫程式碼的地方。
cargo new 會為我們產生一個「Hello, world!」的專案!我們可以移動到這個新的目錄並在我們的終端機上執行:
cargo run
您應該會在終端機上看到以下訊息: