granite-rust/library/alloc
Matthias Krüger 5a4c04cc2c
Rollup merge of #111656 - finnbear:string_leak_unbounded_lifetime, r=Amanieu
Use an unbounded lifetime in `String::leak`.

Using `'a` instead of `'static` is predicted to make the process of making `String` generic over an allocator easier/less of a breaking change.

See:
- https://github.com/rust-lang/rust/pull/109814#issuecomment-1550164195
- https://github.com/rust-lang/rust/pull/109814#issuecomment-1550250163

ACP: https://github.com/rust-lang/libs-team/issues/109
2023-05-27 20:40:29 +02:00
..
benches remove some unneeded imports 2023-04-12 19:27:18 +02:00
src Rollup merge of #111656 - finnbear:string_leak_unbounded_lifetime, r=Amanieu 2023-05-27 20:40:29 +02:00
tests Rollup merge of #110419 - jsoref:spelling-library, r=jyn514 2023-04-26 18:51:41 +02:00
Cargo.toml Revert "Report allocation errors as panics" 2023-04-25 00:08:37 +02:00