projects
/
rust-101.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
67c07b2
)
part10: typo
author
Ralf Jung
<post@ralfj.de>
Tue, 28 Jul 2015 15:50:16 +0000
(17:50 +0200)
committer
Ralf Jung
<post@ralfj.de>
Tue, 28 Jul 2015 15:50:16 +0000
(17:50 +0200)
src/part10.rs
patch
|
blob
|
history
workspace/src/part10.rs
patch
|
blob
|
history
diff --git
a/src/part10.rs
b/src/part10.rs
index 53110dc0d335e390631fdfafbb3b98b0cd73d411..02fb82844762b276e145ca5b7b523eb37a862702 100644
(file)
--- a/
src/part10.rs
+++ b/
src/part10.rs
@@
-36,7
+36,7
@@
struct PrintWithString {
}
impl Action for PrintWithString {
}
impl Action for PrintWithString {
- // Here we perform
performs
the actual printing of the prefix and the digit. We're not making use of our ability to
+ // Here we perform the actual printing of the prefix and the digit. We're not making use of our ability to
// change `self` here, but we could replace the prefix if we wanted.
fn do_action(&mut self, digit: u64) {
println!("{}{}", self.prefix, digit); /*@*/
// change `self` here, but we could replace the prefix if we wanted.
fn do_action(&mut self, digit: u64) {
println!("{}{}", self.prefix, digit); /*@*/
diff --git
a/workspace/src/part10.rs
b/workspace/src/part10.rs
index 3af444faa7a3ca3d3f99642fd7436d40c9cadf26..c955394f11f12cf15211d7e6876ead12e63730e6 100644
(file)
--- a/
workspace/src/part10.rs
+++ b/
workspace/src/part10.rs
@@
-24,7
+24,7
@@
struct PrintWithString {
}
impl Action for PrintWithString {
}
impl Action for PrintWithString {
- // Here we perform
performs
the actual printing of the prefix and the digit. We're not making use of our ability to
+ // Here we perform the actual printing of the prefix and the digit. We're not making use of our ability to
// change `self` here, but we could replace the prefix if we wanted.
fn do_action(&mut self, digit: u64) {
unimplemented!()
// change `self` here, but we could replace the prefix if we wanted.
fn do_action(&mut self, digit: u64) {
unimplemented!()