Skip to content

Commit

Permalink
Make check more happy
Browse files Browse the repository at this point in the history
  • Loading branch information
monoid committed Feb 22, 2024
1 parent 7fa7374 commit d4b90b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/air-lib/interpreter-sede/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ pub trait Format<Value> {
}

pub trait BorrowFormat<'data, Value: 'data>: Format<Value> {
#[allow(dead_code)]
fn borrow_from_slice(&self, slice: &'data [u8]) -> Result<Value, Self::DeserializationError>;
}

#[allow(dead_code)]
pub trait ArchivedFormat<Value>: Format<Value> {
type Archived;
type ValidationError;
Expand Down

0 comments on commit d4b90b4

Please sign in to comment.