pub(crate) fn close_into_inner<Inner: WriteStr + WriteLayered>(
        mut internals: impl TextWriterInternals<Inner>,
    ) -> io::Result<Inner> {
        Self::check_nl(&mut internals)?;
        Ok(internals.into_inner())
    }
/// Flush and close the underlying stream and return the underlying
/// stream object.
Flush and close the underlying stream and return the underlying
stream object.
Flush and close the underlying stream and return the underlying stream object .
pub(crate) fn close_into_inner<Inner: WriteStr + WriteLayered>(
        mut internals: impl TextWriterInternals<Inner>,
    ) -> io::Result<Inner> {
        Self::check_nl(&mut internals)?;
        Ok(internals.into_inner())
    }
pub ( crate ) fn close_into_inner < Inner : WriteStr + WriteLayered > ( mut internals : impl TextWriterInternals < Inner > , ) -> io :: Result < Inner > { Self :: check_nl ( & mut internals ) ? ; Ok ( internals . into_inner ( ) ) }
Flush and close the underlying stream and return the underlying
stream object.
Flush and close the underlying stream and return the underlying stream object .
internals
impl TextWriterInternals<Inner>