Skip to content

Commit

Permalink
refactor: replace extern crate with use
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 22, 2024
1 parent b684752 commit 72cdf68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#![deny(clippy::all)]

#[macro_use]
extern crate napi_derive;
use copy_on_write::reflink_file_sync;
use napi::{bindgen_prelude::AsyncTask, Env, Error, JsNumber, Result, Task};
use napi_derive::napi;

pub struct AsyncReflink {
src: String,
Expand Down

0 comments on commit 72cdf68

Please sign in to comment.