rebuild pages at 59f62f8

This commit is contained in:
Steve Klabnik
2016-08-24 13:40:56 +00:00
parent 90e127b1c8
commit 75b0d9e4e1
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -268,10 +268,10 @@ the next chapter.</p>
<p>Cargo has generated a &quot;Hello World!&quot; for you, just like the one we wrote
earlier! So that part is the same. The differences between our previous project
and the project generated by Cargo that we've seen so far are:</p>
<ul>
<ol>
<li>Our code goes in the <code>src</code> directory</li>
<li>The top level contains a <code>Cargo.toml</code> configuration file</li>
</ul>
</ol>
<p>Cargo expects your source files to live inside the <code>src</code> directory so that the
top-level project directory is just for READMEs, license information,
configuration files, and anything else not related to your code. In this way,
@@ -322,12 +322,12 @@ this:</p>
Hello, world!
</code></pre>
<p>So a few more differences we've now seen:</p>
<ul>
<ol start="3">
<li>Instead of using <code>rustc</code>, build a project using <code>cargo build</code> (or build and
run it in one step with <code>cargo run</code>)</li>
<li>Instead of the result of the build being put in the same directory as our
code, Cargo will put it in the <code>target/debug</code> directory.</li>
</ul>
</ol>
<p>The other advantage of using Cargo is that the commands are the same no matter
what operating system you're on, so at this point we will no longer be
providing specific instructions for Linux and Mac versus Windows.</p>
+4 -4
View File
@@ -351,10 +351,10 @@ the next chapter.</p>
<p>Cargo has generated a &quot;Hello World!&quot; for you, just like the one we wrote
earlier! So that part is the same. The differences between our previous project
and the project generated by Cargo that we've seen so far are:</p>
<ul>
<ol>
<li>Our code goes in the <code>src</code> directory</li>
<li>The top level contains a <code>Cargo.toml</code> configuration file</li>
</ul>
</ol>
<p>Cargo expects your source files to live inside the <code>src</code> directory so that the
top-level project directory is just for READMEs, license information,
configuration files, and anything else not related to your code. In this way,
@@ -405,12 +405,12 @@ this:</p>
Hello, world!
</code></pre>
<p>So a few more differences we've now seen:</p>
<ul>
<ol start="3">
<li>Instead of using <code>rustc</code>, build a project using <code>cargo build</code> (or build and
run it in one step with <code>cargo run</code>)</li>
<li>Instead of the result of the build being put in the same directory as our
code, Cargo will put it in the <code>target/debug</code> directory.</li>
</ul>
</ol>
<p>The other advantage of using Cargo is that the commands are the same no matter
what operating system you're on, so at this point we will no longer be
providing specific instructions for Linux and Mac versus Windows.</p>