mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
Update CONTRIBUTING.md
This commit is contained in:
parent
b3cc517966
commit
75e38a8cda
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ are often overkill for nested functions and function literals; use ordinary
|
||||||
comments for those. Follow the [D Style](https://dlang.org/dstyle.html#phobos_documentation)
|
comments for those. Follow the [D Style](https://dlang.org/dstyle.html#phobos_documentation)
|
||||||
for comment blocks.
|
for comment blocks.
|
||||||
|
|
||||||
3. Do not use `strlen`/`strcmp` and their ilk. Use D arrays instead.
|
3. Do not use `strlen`/`strcmp` and their like. Use D arrays instead.
|
||||||
If slicing from a `char*` is required then use `dmd.utils.toDString`
|
If slicing from a `char*` is required then use `dmd.utils.toDString`
|
||||||
or the member function `.toString` that is implemented in many classes.
|
or the member function `.toString` that is implemented in many classes.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue