Skip to content

Commit a11e1f2

Browse files
committed
overview: slightly modernize
1 parent 8f6d05c commit a11e1f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en-US/learn/overview.smd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Unadorned Zig pointers cannot be null:
107107

108108
[]($code.language('=html').buildAsset('features/6-null-to-ptr.zig'))
109109

110-
However any type can be made into an [optional type](https://ziglang.org/documentation/master/#Optionals) by prefixing it with ?:
110+
However any type can be made into an [optional type](https://ziglang.org/documentation/master/#Optionals) by prefixing it with `?`:
111111

112112
[]($code.language('=html').buildAsset('features/7-optional-syntax.zig'))
113113

@@ -179,7 +179,7 @@ In addition, the standard library has the ability to capture a stack trace at an
179179

180180
[]($code.language('=html').buildAsset('features/17-stack-traces.zig'))
181181

182-
You can see this technique being used in the ongoing [GeneralPurposeDebugAllocator project](https://github.com/andrewrk/zig-general-purpose-allocator/#current-status).
182+
The standard library's DebugAllocator uses this technique to report leaks and double frees.
183183

184184
## Generic data structures and functions
185185

0 commit comments

Comments
 (0)