aboutsummaryrefslogtreecommitdiffstats
path: root/rust/build_error.rs
diff options
context:
space:
mode:
authorGary Guo <[email protected]>2022-11-10 16:41:26 +0000
committerMiguel Ojeda <[email protected]>2022-12-04 00:59:15 +0000
commit7c5977464681c2ec603efcac32a9432bcd355f12 (patch)
treed2afa9e25342c9e637b6ff615489974e5f58fc9f /rust/build_error.rs
parentrust: alloc: add `Vec::try_with_capacity{,_in}()` constructors (diff)
downloadkernel-7c5977464681c2ec603efcac32a9432bcd355f12.tar.gz
kernel-7c5977464681c2ec603efcac32a9432bcd355f12.zip
rust: str: add `BStr` type
Add the `BStr` type, which is a byte string without UTF-8 validity guarantee. It is simply an alias to `[u8]`, but has a more evident semantical meaning. Signed-off-by: Gary Guo <[email protected]> [Reworded, adapted for upstream and applied latest changes] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/build_error.rs')
0 files changed, 0 insertions, 0 deletions