Fixed typo in numpy deprecated type alias rule documentation (#5224)

## Summary

It is a very simple typo fix in the "numy deprecated type alias"
documentation.
This commit is contained in:
Florian Stasse 2023-06-20 22:51:51 +02:00 committed by GitHub
parent 2c0ec97782
commit 07409ce201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ use crate::registry::AsRule;
/// ## Why is this bad?
/// NumPy's `np.int` has long been an alias of the builtin `int`. The same
/// goes for `np.float`, `np.bool`, and others. These aliases exist
/// primarily primarily for historic reasons, and have been a cause of
/// primarily for historic reasons, and have been a cause of
/// frequent confusion for newcomers.
///
/// These aliases were been deprecated in 1.20, and removed in 1.24.