Skip to content

Commit

Permalink
Update option_example_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
samber authored Sep 25, 2023
1 parent e154749 commit 20cc301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion option_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func ExampleOption_PointerOrNil_some() {
some := Some(42)
result := some.PointerOrNil()

fmt.Println(result)
fmt.Println(*result)
// Output: 42
}

Expand Down

0 comments on commit 20cc301

Please sign in to comment.