mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Documentation: Fix slightly-broken headers
GithubFlavoredMarkdown sees the angled brackets (<>) and censors them. Perhaps because it does not allow HTML tags in headings.
This commit is contained in:
parent
79bcb90887
commit
4acdea7cfe
Notes:
sideshowbarker
2024-07-18 04:17:09 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/4acdea7cfee Pull-request: https://github.com/SerenityOS/serenity/pull/9957
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ The reason for using these pointers is to make it explicit through code who owns
|
||||||
|
|
||||||
|
|
||||||
----
|
----
|
||||||
## OwnPtr<T> and NonnullOwnPtr<T>
|
## OwnPtr\<T\> and NonnullOwnPtr\<T\>
|
||||||
|
|
||||||
`OwnPtr` is used for single-owner objects. An object held in an `OwnPtr` is owned by that `OwnPtr`, and not by anybody else.
|
`OwnPtr` is used for single-owner objects. An object held in an `OwnPtr` is owned by that `OwnPtr`, and not by anybody else.
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ In this case, the *non-throwing* `new` should be used to construct the raw point
|
||||||
**Note:** Always prefer the helper functions to manual construction.
|
**Note:** Always prefer the helper functions to manual construction.
|
||||||
|
|
||||||
----
|
----
|
||||||
## RefPtr<T> and NonnullRefPtr<T>
|
## RefPtr\<T\> and NonnullRefPtr\<T\>
|
||||||
|
|
||||||
`RefPtr` is used for multiple-owner objects. An object held by a `RefPtr` is owned together by every pointer pointing to that object.
|
`RefPtr` is used for multiple-owner objects. An object held by a `RefPtr` is owned together by every pointer pointing to that object.
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ In this case, the *non-throwing* `new` should be used to construct the raw point
|
||||||
**Note:** Always prefer the helper functions to manual construction.
|
**Note:** Always prefer the helper functions to manual construction.
|
||||||
|
|
||||||
----
|
----
|
||||||
## WeakPtr<T>
|
## WeakPtr\<T\>
|
||||||
|
|
||||||
`WeakPtr` is used for objects that somebody else owns. When the pointee of a `WeakPtr` is deleted, the `WeakPtr` will magically become null.
|
`WeakPtr` is used for objects that somebody else owns. When the pointee of a `WeakPtr` is deleted, the `WeakPtr` will magically become null.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue