Documentation: Fix a typo by removing an extra word

This commit is contained in:
Scott Antipa 2021-06-04 00:22:41 -07:00 committed by GitHub
parent 2dfd95767a
commit 7dab58ac3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: