1
0
mirror of https://github.com/nushell/nushell.git synced 2025-05-08 20:14:26 +02:00
nushell/crates/nu-cmd-extra/tests/commands/bits/mod.rs
Stefan Holderbach d36514a323
Rename/deprecate into bits to format bits ()
# Description
`into bits` is a bad name because it is not a traditional type cast to a
`bits` type like all the other `into` commands.

Instead it is a pretty printer generating `string` type output. Thus the
correct bucket is `format` and its subcommands.


# User-Facing Changes
`into bits` will raise a `DeprecatedWarning` suggesting the move to
`format bits`
`into bits` can be removed in `0.103.0`

# Tests + Formatting
All tests that relied on `into bits` have been updated to `format bits`
2024-12-28 22:49:25 +01:00

2 lines
12 B
Rust