summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-23 23:53:07 +0300
committerPaul Buetow <paul@buetow.org>2026-05-23 23:53:07 +0300
commitcd6e99821d663b87113cd4da837c1f9a250adf66 (patch)
treed5b42250870276bb56d94b81de5460e5865da383
parent8eab33b5f2ab4d77f5df24862a1e7dbec3e4cf7f (diff)
docs: fix stale file-level comment in internal/rpn/rpn.go
The comment claimed this file contained the RPN struct definition and constructor, but both live in rpn_state.go after the package refactor. Replace with an accurate package-level doc comment.
-rw-r--r--internal/rpn/rpn.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/rpn/rpn.go b/internal/rpn/rpn.go
index a7f51fc..c9c466a 100644
--- a/internal/rpn/rpn.go
+++ b/internal/rpn/rpn.go
@@ -3,6 +3,5 @@
package rpn
-// RPN represents the RPN parser and evaluator with state management.
-// This file contains only the RPN struct definition and constructor.
-// All other functionality is in separate files for better separation of concerns.
+// Package rpn implements an RPN (Reverse Polish Notation) parser and evaluator
+// with state management, supporting variables, constants, metrics, and hyperoperators.