Skip to content

Commit

Permalink
Upgrade edition to 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi committed Oct 22, 2021
1 parent ae1e1de commit 04fea10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kq"
version = "1.0.4"
edition = "2018"
edition = "2021"
description = "A jq-like cli tool that can query and transform kdl right in the command line"
documentation = "https://crates.io/crates/kq"
homepage = "https://github.com/jihchi/kq"
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use getopts::{Fail, Matches, Options};
use std::env;

const CARGO_PKG_VERSION: &'static str = env!("CARGO_PKG_VERSION");
const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION");

pub struct Args {
opts: Options,
Expand Down

0 comments on commit 04fea10

Please sign in to comment.