Skip to content
Myr

Restore no_std support where String isn't in prelude

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 7d8ba95 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/ensure.rs+1 added
1use crate::Error;2use alloc::string::String;3use core::fmt::{self, Debug, Write};4use core::mem::MaybeUninit;5use core::ptr;6use core::slice;
538 unmodified lines