From 3d67ed7aa653dc52f8877526b9567ffa176d6730 Mon Sep 17 00:00:00 2001 From: Sean Lynch Date: Wed, 9 Oct 2019 17:14:57 -0700 Subject: [PATCH] Port over twitter/ccommon#219 --- deps/ccommon/rust/ccommon-derive/src/attrs.rs | 1 - deps/ccommon/rust/ccommon_rs/src/ccbox.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deps/ccommon/rust/ccommon-derive/src/attrs.rs b/deps/ccommon/rust/ccommon-derive/src/attrs.rs index ebb244505..761c441d4 100644 --- a/deps/ccommon/rust/ccommon-derive/src/attrs.rs +++ b/deps/ccommon/rust/ccommon-derive/src/attrs.rs @@ -16,7 +16,6 @@ use proc_macro2::TokenStream; use quote::ToTokens; use syn::parse::*; -use syn::parse_quote; use syn::punctuated::*; use syn::spanned::Spanned; use syn::*; diff --git a/deps/ccommon/rust/ccommon_rs/src/ccbox.rs b/deps/ccommon/rust/ccommon_rs/src/ccbox.rs index 3a6d3edb4..74108aa46 100644 --- a/deps/ccommon/rust/ccommon_rs/src/ccbox.rs +++ b/deps/ccommon/rust/ccommon_rs/src/ccbox.rs @@ -104,7 +104,7 @@ impl CCBox { CCBox(NonNull::new_unchecked(raw)) } - /// Comsumes the box and returns the pointer stored inside. + /// Consumes the box and returns the pointer stored inside. /// /// The pointer should be freed using [`_cc_free`](ccommon_sys::_cc_free) /// or by recreating a `CCBox` from the pointer.