Skip to content
Unverified Commit 558cbd01 authored by Wiktor Kwapisiewicz's avatar Wiktor Kwapisiewicz
Browse files

Fix documentation example for `Rsa::from_private_components`

The existing documentation probably went out of sync when refactoring
`Rsa` into `RsaPrivateKeyBuilder`.

This change fixes the example by using code similar to the actual
implementation. Additionally the example has been converted to a doctest
so that any future refactorings should be captured by the test.
parent ff5397d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment