From ac7e2911cb905eaee336f26138ce39e1df43487c Mon Sep 17 00:00:00 2001 From: Admin Date: Sat, 2 Dec 2023 21:02:15 +0100 Subject: [PATCH] Made HistorySessionId.0 public for nushell access --- src/history/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history/item.rs b/src/history/item.rs index e6b47fa2..3eee1380 100644 --- a/src/history/item.rs +++ b/src/history/item.rs @@ -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)