Skip to content

Import formatter for alloc but no_std environments#98

Closed
dberlin wants to merge 1 commit intohashmismatch:masterfrom
dberlin:master
Closed

Import formatter for alloc but no_std environments#98
dberlin wants to merge 1 commit intohashmismatch:masterfrom
dberlin:master

Conversation

@dberlin
Copy link

@dberlin dberlin commented Mar 19, 2023

Right now, if you have alloc but no_std, packed_struct will not compile
because it does not import the Formatter type.

This imports the std one for std, no_alloc, and the alloc
one for alloc, no_std.

@dberlin
Copy link
Author

dberlin commented Mar 19, 2023

#90 already does this - it would be nice to merge it

@dberlin dberlin closed this Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments