Skip to content

Commit

Permalink
Fix error in ch04-01-what-is-ownership.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FarzadHayat authored Apr 14, 2024
1 parent e58f1ca commit 280543d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch04-01-what-is-ownership.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ strings.
> find you.
>
> Pushing to the stack is faster than allocating on the heap because the
> allocator never has to search for a place to store new data; that location is
> stack never has to search for a place to store new data; that location is
> always at the top of the stack. Comparatively, allocating space on the heap
> requires more work because the allocator must first find a big enough space
> to hold the data and then perform bookkeeping to prepare for the next
Expand Down

0 comments on commit 280543d

Please sign in to comment.