mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Documentation: Fix a typo by removing an extra word
This commit is contained in:
parent
2dfd95767a
commit
7dab58ac3b
Notes:
sideshowbarker
2024-07-18 16:56:12 +09:00
Author: https://github.com/scottyantipa 🔰 Commit: https://github.com/SerenityOS/serenity/commit/7dab58ac3b8 Pull-request: https://github.com/SerenityOS/serenity/pull/7759
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ bool convert_to_ascii(short*, size_t);
|
|||
bool to_ascii(short*, size_t);
|
||||
```
|
||||
|
||||
[](#names-if-exists) When there are two getters for a variable, and one of them automatically makes sure the requested object is instantiated, prefix that getter function which with `ensure_`. As it ensures that an object is created, it should consequently also return a reference, not a pointer.
|
||||
[](#names-if-exists) When there are two getters for a variable, and one of them automatically makes sure the requested object is instantiated, prefix that getter function with `ensure_`. As it ensures that an object is created, it should consequently also return a reference, not a pointer.
|
||||
|
||||
###### Right:
|
||||
|
||||
|
|
Loading…
Reference in a new issue