Skip to content

Commit

Permalink
fix(fc-traits-nonfungibles-helpers): make entire crate be no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Jan 5, 2025
1 parent 4c9ffd5 commit 4dfad85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions traits/nonfungibles-helpers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![no_std]

/// Defines a predicate to determine whether to select an item or not within a
/// filter operation.
pub trait SelectNonFungibleItem<CollectionId, ItemId> {
Expand All @@ -24,7 +26,10 @@ where

#[cfg(test)]
mod tests {
extern crate alloc;

use super::*;
use alloc::boxed::Box;

#[test]
fn it_works() {
Expand Down

0 comments on commit 4dfad85

Please sign in to comment.