Skip to content

Commit bcfd6cb

Browse files
authored
Remove Mozilla specific references (#24)
We kinda branded the talk when we held it at the Mozilla Switzerland meetup. But for other occurrences this doesn't make any sense.
1 parent 660d6d8 commit bcfd6cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sections/4.2-ownership.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ \subsection{Promise 2: No dangling pointers}
136136

137137
\begin{minted}{rust}
138138
fn print_loud(text: String) { println!("{}!!!!!", text); }
139-
let s = "Hello, Mozillians".to_string();
139+
let s = "Hello, Hackers".to_string();
140140
print_loud(s);
141141
println!("{}", s);
142142
\end{minted}
@@ -164,7 +164,7 @@ \subsection{Promise 2: No dangling pointers}
164164

165165
\begin{minted}{rust}
166166
fn print_loud(text: &String) { println!("{}!!!!!", text); }
167-
let s = "Hello, Mozillians".to_string();
167+
let s = "Hello, Hackers".to_string();
168168
print_loud(&s);
169169
println!("Original value was {}", s);
170170
\end{minted}
@@ -181,7 +181,7 @@ \subsection{Promise 2: No dangling pointers}
181181

182182
\begin{minted}{rust}
183183
fn make_loud(text: &mut String) { text.push_str("!!!!!"); };
184-
let mut s = "Hello, Mozillians".to_string();
184+
let mut s = "Hello, Hackers".to_string();
185185
make_loud(&mut s);
186186
println!("New value is {}", s);
187187
\end{minted}

0 commit comments

Comments
 (0)