Skip to content

Commit 02fc55a

Browse files
CopilotashyanSpada
andauthored
Make DelimTokenType::as_str pub(crate) to avoid expanding public API
Agent-Logs-Url: https://github.com/ashyanSpada/expression_engine_rs/sessions/fc512b36-1630-4659-8bd4-8b1f421d33b8 Co-authored-by: ashyanSpada <22587148+ashyanSpada@users.noreply.github.com>
1 parent f0b80a6 commit 02fc55a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl From<&str> for DelimTokenType {
5252
}
5353

5454
impl DelimTokenType {
55-
pub fn as_str(&self) -> &'static str {
55+
pub(crate) fn as_str(&self) -> &'static str {
5656
use DelimTokenType::*;
5757
match self {
5858
OpenParen => "(",

0 commit comments

Comments
 (0)