Skip to content

Commit

Permalink
Made HistorySessionId.0 public for nushell access
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin committed Dec 2, 2023
1 parent 967b15d commit ac7e291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/history/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl Display for HistoryItemId {
/// Unique ID for the session in which reedline was run to disambiguate
/// different sessions
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct HistorySessionId(pub(crate) i64);
pub struct HistorySessionId(pub i64);
impl HistorySessionId {
pub(crate) const fn new(i: i64) -> HistorySessionId {
HistorySessionId(i)
Expand Down

0 comments on commit ac7e291

Please sign in to comment.