diff --git a/Cargo.lock b/Cargo.lock index bbc8a109e06..8a542a6362a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -549,7 +549,6 @@ dependencies = [ "ckb-occupied-capacity", "enum-display-derive", "failure", - "quote 1.0.7", ] [[package]] diff --git a/devtools/ci/check-cargotoml.sh b/devtools/ci/check-cargotoml.sh index 03fddef8634..c3c573725a1 100755 --- a/devtools/ci/check-cargotoml.sh +++ b/devtools/ci/check-cargotoml.sh @@ -137,7 +137,7 @@ function check_dependencies_for() { fi if [ "${depcnt}" -eq 0 ]; then case "${dependency}" in - phf|quote) + phf) # We cann't handle these crates. printf "Warn: [%s::%s] in <%s>\n" \ "${deptype}" "${dependency}" "${pkgroot}" diff --git a/error/Cargo.toml b/error/Cargo.toml index 792a394fb86..e6c0706e765 100644 --- a/error/Cargo.toml +++ b/error/Cargo.toml @@ -14,4 +14,3 @@ repository = "https://github.com/nervosnetwork/ckb" failure = "0.1.5" ckb-occupied-capacity = { path = "../util/occupied-capacity", version = "= 0.37.0-pre" } enum-display-derive = "0.1.0" -quote = "1.0.3" diff --git a/util/multisig/src/error.rs b/util/multisig/src/error.rs index 6159fd6789c..d0ebd7acbbe 100644 --- a/util/multisig/src/error.rs +++ b/util/multisig/src/error.rs @@ -19,7 +19,7 @@ pub enum ErrorKind { /// The verified signatures count is less than the threshold. #[fail(display = "Failed to meet threshold {:?}.", _0)] Threshold { - /// The required count of valid signatures. + /// The required count of valid signatures. threshold: usize, /// The actual count of valid signatures. pass_sigs: usize,