diff options
| author | rodrimati1992 <rodrimatt1985@gmail.com> | 2020-08-06 04:00:59 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-06 04:00:59 -0300 |
| commit | a915bbf780a6893e10d7df8af772caa18073d389 (patch) | |
| tree | 24310fd9f3d63d8063691e5660a0891596856e01 | |
| parent | 77d0d152cce8c26935c3e0ac449982f24471a6f5 (diff) | |
| download | rust-a915bbf780a6893e10d7df8af772caa18073d389.tar.gz rust-a915bbf780a6893e10d7df8af772caa18073d389.zip | |
Removed blank line that caused CI error
| -rw-r--r-- | library/core/src/str/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index fef1ebef4c1..d2f5b408fb9 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -2357,7 +2357,6 @@ impl str { #[allow(unused_attributes)] #[allow_internal_unstable(const_fn_union)] pub const fn as_bytes(&self) -> &[u8] { - // SAFETY: const sound because we transmute two types with the same layout unsafe { StrOrSlice { str: self }.slice } } |
