aboutsummaryrefslogtreecommitdiff
path: root/doc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc_test.go')
-rw-r--r--doc_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_test.go b/doc_test.go
index 670d07b..ae1af9a 100644
--- a/doc_test.go
+++ b/doc_test.go
@@ -6,7 +6,7 @@ import (
func Example() {
// create a shared variable
- n := stm.NewVar[int](3)
+ n := stm.NewVar(3)
// read a variable
var v int