tests/test-gendoc-pt_BR.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 12 Oct 2019 23:34:05 +0900
changeset 44203 2a24ead003f0
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
rust-cpython: add panicking version of borrow_mut() and use it The original borrow_mut() is renamed to try_borrow_mut(). Since leak_immutable() no longer incref the borrow count, the caller should know if the underlying value is borrowed or not. No Python world is involved. That's why we can simply use the panicking borrow_mut().

#require docutils gettext

  $ $TESTDIR/check-gendoc pt_BR
  checking for parse errors