From aba267fd0dfb7c4d9f10f530adbccc7ff4626545 Mon Sep 17 00:00:00 2001 From: Carlos Liam Date: Tue, 6 Oct 2015 13:06:39 -0400 Subject: [PATCH] Replace multiple trailing newlines with a single trailing newline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sorry I didn’t get this in the last PR (#28864), I hadn’t thought of it. --- src/doc/nomicon/ownership.md | 1 - src/doc/trpl/ownership.md | 10 ---------- src/libstd/os/freebsd/raw.rs | 1 - src/test/compile-fail/transmute-imut-to-mut.rs | 1 - 4 files changed, 13 deletions(-) diff --git a/src/doc/nomicon/ownership.md b/src/doc/nomicon/ownership.md index e80c64c3543..6be8d3b7028 100644 --- a/src/doc/nomicon/ownership.md +++ b/src/doc/nomicon/ownership.md @@ -64,4 +64,3 @@ does in fact live as long as we needed. However it was *changed* while we had a reference into it. This is why Rust requires any references to freeze the referent and its owners. - diff --git a/src/doc/trpl/ownership.md b/src/doc/trpl/ownership.md index 5ddbdd6df00..89116f77b41 100644 --- a/src/doc/trpl/ownership.md +++ b/src/doc/trpl/ownership.md @@ -236,13 +236,3 @@ complicated. Luckily, Rust offers a feature, borrowing, which helps us solve this problem. It’s the topic of the next section! - - - - - - - - - - diff --git a/src/libstd/os/freebsd/raw.rs b/src/libstd/os/freebsd/raw.rs index 65390aee0e1..761e6c96ab7 100644 --- a/src/libstd/os/freebsd/raw.rs +++ b/src/libstd/os/freebsd/raw.rs @@ -138,4 +138,3 @@ mod arch { } } - diff --git a/src/test/compile-fail/transmute-imut-to-mut.rs b/src/test/compile-fail/transmute-imut-to-mut.rs index 2e076337f53..62db4c5d366 100644 --- a/src/test/compile-fail/transmute-imut-to-mut.rs +++ b/src/test/compile-fail/transmute-imut-to-mut.rs @@ -17,4 +17,3 @@ fn main() { //~^ ERROR mutating transmuted &mut T from &T may cause undefined behavior } -