]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #72834 - JOE1994:correct_confusing_term, r=sfackler
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 1 Jun 2020 01:14:16 +0000 (03:14 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 01:14:16 +0000 (03:14 +0200)
commit16b4dc0489fca20d328c8f6effb8d7a9d1ef944d
treee0134fe42a0e4660f6fb363a5af4e8c482a499be
parentb6a5fea2ceee9a664e0dd808f1b5d3365311d0cc
parent3048a41a5a042c2633a4d87ea38e04a1407f5bd3
Rollup merge of #72834 - JOE1994:correct_confusing_term, r=sfackler

Rephrase term 'non-pointer type'

Hello :cat2: ,

If the reader assumes that 'pointer type's include 'smart pointer's,
the term 'non-pointer type' could mislead the reader to assume that
x should not be a smart pointer type. I tried to rephrase the term
'non-pointer type' to remove ambiguity in the doc comments.

closes #72335

Thank you for reviewing this PR! :superhero_woman: