Corrected documentation

This commit is contained in:
johannesd3 2021-05-27 17:20:49 +02:00
parent 049bcf616f
commit 3be50fd90f
No known key found for this signature in database
GPG key ID: 8C2739E91D410F75

View file

@ -134,7 +134,7 @@ impl SpotifyId {
Ok(id)
}
/// Returns the `SpotifyId` as a base16 (hex) encoded, `SpotifyId::SIZE_BASE62` (22)
/// Returns the `SpotifyId` as a base16 (hex) encoded, `SpotifyId::SIZE_BASE16` (32)
/// character long `String`.
pub fn to_base16(&self) -> String {
to_base16(&self.to_raw(), &mut [0u8; SpotifyId::SIZE_BASE16])