Skip to content

Commit

Permalink
start figuring out buffering for recursive enums
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Dec 16, 2023
1 parent 35d276a commit e06e07c
Show file tree
Hide file tree
Showing 4 changed files with 441 additions and 66 deletions.
1 change: 1 addition & 0 deletions buffer/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ impl Error {
}

pub(crate) fn invalid_value(reason: &'static str) -> Self {
panic!("{}", reason);
Error(ErrorKind::InvalidValue { reason })
}

Expand Down
2 changes: 1 addition & 1 deletion buffer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Rather than conditionally compile these methods, this library stubs
out functionality when an allocator isn't available.
*/

#![cfg_attr(not(test), no_std)]
//#![cfg_attr(not(test), no_std)]
#![deny(missing_docs)]

mod error;
Expand Down
Loading

0 comments on commit e06e07c

Please sign in to comment.