mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 22:46:02 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use nu_protocol::{ast::CellPath, LabeledError, Span, Value};
|
||||
use nu_protocol::{LabeledError, Span, Value, ast::CellPath};
|
||||
use semver::{BuildMetadata, Prerelease, Version};
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Clone, Copy)]
|
||||
@@ -126,8 +126,8 @@ mod tests {
|
||||
mod semver {
|
||||
use nu_protocol::{Span, Value};
|
||||
|
||||
use crate::inc::SemVerAction;
|
||||
use crate::Inc;
|
||||
use crate::inc::SemVerAction;
|
||||
|
||||
#[test]
|
||||
fn major() {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
use nu_plugin::{serve_plugin, JsonSerializer};
|
||||
use nu_plugin::{JsonSerializer, serve_plugin};
|
||||
use nu_plugin_inc::IncPlugin;
|
||||
|
||||
fn main() {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
use crate::{inc::SemVerAction, Inc};
|
||||
use crate::{Inc, inc::SemVerAction};
|
||||
use nu_plugin::{EngineInterface, EvaluatedCall, Plugin, PluginCommand, SimplePluginCommand};
|
||||
use nu_protocol::{ast::CellPath, LabeledError, Signature, SyntaxShape, Value};
|
||||
use nu_protocol::{LabeledError, Signature, SyntaxShape, Value, ast::CellPath};
|
||||
|
||||
pub struct IncPlugin;
|
||||
|
||||
|
Reference in New Issue
Block a user