memory.op.equal: Fix parameter documentation

This commit is contained in:
Eugen Wissner 2018-10-30 12:39:10 +01:00
parent 1e46109e50
commit 8aec781e2a
2 changed files with 16 additions and 7 deletions

View File

@ -10,16 +10,23 @@ d:
- dmd-2.082.1 - dmd-2.082.1
env: env:
global:
- LATEST=2.082.1
matrix: matrix:
- ARCH=x86_64 - ARCH=x86_64
- ARCH=x86 - ARCH=x86
matrix: matrix:
include: include:
- name: "D-Scanner" - name: D-Scanner
d: dmd-2.082.1 d: dmd-$LATEST
env: DSCANNER=0.5.11 env: DSCANNER=0.5.11
os: linux os: linux
- name: DDoc
d: dmd-$LATEST
env: DDOC=true
os: linux
addons: addons:
apt: apt:
@ -27,13 +34,15 @@ addons:
- gcc-multilib - gcc-multilib
before_script: before_script:
- if [ "`$DC --version | head -n 1 | grep 'v2.082.1'`" ] && - if [ "`$DC --version | head -n 1 | grep v$LATEST`" ] &&
[ -z "$DSCANNER" ]; then [ -z "$DSCANNER$DDOC" ]; then
export UNITTEST="unittest-cov"; export UNITTEST="unittest-cov";
fi fi
script: script:
- if [ -z "$DSCANNER" ]; then - if [ -n "$DDOC" ]; then
dub build -b ddox --compiler=$DC;
elif [ -z "$DSCANNER" ]; then
dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC;
else else
dub fetch dscanner --version=$DSCANNER; dub fetch dscanner --version=$DSCANNER;

View File

@ -419,8 +419,8 @@ do
* Compares two memory areas $(D_PARAM r1) and $(D_PARAM r2) for equality. * Compares two memory areas $(D_PARAM r1) and $(D_PARAM r2) for equality.
* *
* Params: * Params:
* haystack = First memory block. * r1 = First memory block.
* needle = First memory block. * r2 = Second memory block.
* *
* Returns: $(D_KEYWORD true) if $(D_PARAM r1) and $(D_PARAM r2) are equal, * Returns: $(D_KEYWORD true) if $(D_PARAM r1) and $(D_PARAM r2) are equal,
* $(D_KEYWORD false) otherwise. * $(D_KEYWORD false) otherwise.