From 20cc301c28edbb738d365425716124f606d24f97 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Mon, 25 Sep 2023 15:29:09 +0200 Subject: [PATCH] Update option_example_test.go --- option_example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/option_example_test.go b/option_example_test.go index 07a353c..95a7d85 100644 --- a/option_example_test.go +++ b/option_example_test.go @@ -196,7 +196,7 @@ func ExampleOption_PointerOrNil_some() { some := Some(42) result := some.PointerOrNil() - fmt.Println(result) + fmt.Println(*result) // Output: 42 }