diff options
author | Chris Wendt <chrismwendt@gmail.com> | 2022-06-08 03:16:02 -0600 |
---|---|---|
committer | Chris Wendt <chrismwendt@gmail.com> | 2022-06-08 03:16:02 -0600 |
commit | 2ef3a53065a49ba3238203484588f1f72ccf25fd (patch) | |
tree | 2f59b6ef96aee1ec7ffd26c2793dc61ddb1142cb /doc_test.go | |
parent | update README (diff) | |
download | stm-2ef3a53065a49ba3238203484588f1f72ccf25fd.tar.gz stm-2ef3a53065a49ba3238203484588f1f72ccf25fd.tar.xz |
remove unnecessary type parameters
Diffstat (limited to 'doc_test.go')
-rw-r--r-- | doc_test.go | 2 |
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 |