Removed blank line that caused CI error

This commit is contained in:
rodrimati1992 2020-08-06 04:00:59 -03:00 committed by GitHub
parent 77d0d152cc
commit a915bbf780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }
}