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 }