Skip to content

Commit

Permalink
fix(spans): Make ActionSpan::new() private
Browse files Browse the repository at this point in the history
ScorerSpan::new() was already private. This was never meant to be public.

BREAKING CHANGE: This function was previously public, but it was never meant to be used.
  • Loading branch information
zkat committed Sep 25, 2022
1 parent f4664f8 commit 4486af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thinker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct ActionSpan {
}

impl ActionSpan {
pub fn new(action: Entity, label: Option<&str>) -> Self {
pub(crate) fn new(action: Entity, label: Option<&str>) -> Self {
let span = span!(
Level::DEBUG,
"action",
Expand Down

0 comments on commit 4486af1

Please sign in to comment.