Skip to content
Snippets Groups Projects
Commit e9cc4754 authored by Fabien Parent's avatar Fabien Parent Committed by Rob Herring
Browse files

rust: str: allow dereferencing BStr in a const ctx


impl Deref doesn't work in const context. Add a function
that is similar to implementing `deref` but that can
be used in `const` context.

Signed-off-by: default avatarFabien Parent <fabien.parent@linaro.org>
parent dbb5017d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment