Skip to content

Commit

Permalink
Only export enum
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo committed Aug 2, 2024
1 parent c00686e commit dd62581
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion objects/src/notes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ pub use inputs::NoteInputs;
mod metadata;
pub use metadata::NoteMetadata;

pub mod note_execution_hint;
mod note_execution_hint;
pub use note_execution_hint::NoteExecutionHint;

mod note_id;
pub use note_id::NoteId;
Expand Down
3 changes: 2 additions & 1 deletion objects/src/notes/note_execution_hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use crate::NoteError;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub enum NoteExecutionHint {
/// Unspecified note execution hint.
/// Unspecified note execution hint. Implies we don't know under which conditions the note is
/// consumable.
None,
/// The note's script can be executed at any time.
Always,
Expand Down

0 comments on commit dd62581

Please sign in to comment.