Clarify config::legacy() doc to match config::standard() (#580)

This commit is contained in:
trevyn 2022-09-17 19:22:31 +04:00 committed by GitHub
parent ac44658bfb
commit cafb13eb95
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ pub const fn standard() -> Configuration {
/// Creates the "legacy" default config. This is the default config that was present in bincode 1.0
/// - Little endian
/// - Fixed int length encoding
/// - Write array lengths
/// - Write fixed array length
pub const fn legacy() -> Configuration<LittleEndian, Fixint, WriteFixedArrayLength, NoLimit> {
generate()
}