Skip to content

Commit

Permalink
Fix new clippy warnings on build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreal2000 committed Aug 8, 2024
1 parent f52c60b commit 39a5f17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tdlib-rs/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ fn download_tdlib() {
/// - `cargo:rustc-link-lib=dylib=tdjson`
/// - `cargo:rustc-link-arg=-Wl,-rpath,.../tdlib/lib`
/// - `cargo:rustc-link-search=native=.../tdlib/bin` (only for Windows x86_64)
///
/// The `...` represents the `dest_path` or the `OUT_DIR` environment variable.
/// If the tdlib library is not found at the specified path, the function will panic.
/// The function will panic if the tdlib library is not found at the specified path.
Expand Down Expand Up @@ -391,6 +392,7 @@ pub fn build_download_tdlib(dest_path: Option<String>) {
/// - `cargo:rustc-link-lib=dylib=tdjson`
/// - `cargo:rustc-link-arg=-Wl,-rpath,.../tdlib/lib`
/// - `cargo:rustc-link-search=native=.../tdlib/bin` (only for Windows x86_64)
///
/// The `...` represents the `LOCAL_TDLIB_PATH` environment variable.
/// If the `LOCAL_TDLIB_PATH` environment variable is not set, the function will panic.
///
Expand Down

0 comments on commit 39a5f17

Please sign in to comment.