Merge pull request #46 from cjdsellers/patch-1

Remove duplicate 'this'
This commit is contained in:
Carl Fredrik Samson
2022-05-04 16:32:55 +02:00
committed by GitHub

View File

@@ -541,7 +541,7 @@ pub fn main() {
Wait? What happened to "Hello"? And why did our code segfault? Wait? What happened to "Hello"? And why did our code segfault?
Turns out that while the example above compiles just fine, we expose consumers Turns out that while the example above compiles just fine, we expose consumers
of this this API to both possible undefined behavior and other memory errors of this API to both possible undefined behavior and other memory errors
while using just safe Rust. This is a big problem! while using just safe Rust. This is a big problem!
> I've actually forced the code above to use the nightly version of the compiler. > I've actually forced the code above to use the nightly version of the compiler.