Skip to content

Commit b7572f1

Browse files
authored
Remove and/or from 'help operators' (#7388)
# Description _(Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes.)_ _(Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience.)_ # User-Facing Changes _(List of all changes that impact the user experience here. This helps us keep track of breaking changes.)_ # Tests + Formatting Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass # After Submitting If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date.
1 parent 379e3d7 commit b7572f1

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

crates/nu-command/src/core_commands/help_operators.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -284,27 +284,13 @@ fn generate_operator_info() -> Vec<OperatorInfo> {
284284
description: "Shifts a value right by another.".into(),
285285
precedence: 85,
286286
},
287-
OperatorInfo {
288-
op_type: "Boolean".into(),
289-
operator: "&&".into(),
290-
name: "And".into(),
291-
description: "Deprecated. Checks if two values are true.".into(),
292-
precedence: 50,
293-
},
294287
OperatorInfo {
295288
op_type: "Boolean".into(),
296289
operator: "and".into(),
297290
name: "And".into(),
298291
description: "Checks if two values are true.".into(),
299292
precedence: 50,
300293
},
301-
OperatorInfo {
302-
op_type: "Boolean".into(),
303-
operator: "||".into(),
304-
name: "Or".into(),
305-
description: "Deprecated. Checks if either value is true.".into(),
306-
precedence: 40,
307-
},
308294
OperatorInfo {
309295
op_type: "Boolean".into(),
310296
operator: "or".into(),

0 commit comments

Comments
 (0)