Skip to content

Commit

Permalink
Address clippy defects
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Sep 10, 2024
1 parent 285b740 commit 630b53e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crate_universe/src/api/lockfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ pub fn parse(path: &Path) -> Result<impl CargoBazelLockfile> {
Ok(lockfile)
}

/// `CargoBazelLockfile` provides a view over `cargo-bazel`'s lockfile format,
/// providing information about the third-party dependencies of a workspace.
/// `CargoBazelLockfile` provides a view over `cargo-bazel`'s lockfile format.
///
/// This trait provides information about the third-party dependencies of a workspace.
/// While the lockfile's format doesn't provide any kind of compatibility guarantees over time,
/// this type offers an interface which is likely to be publicly supportable.
/// No formal compatibility guarantees are offered around this type - it may change at any time,
Expand Down
3 changes: 3 additions & 0 deletions examples/crate_universe/using_cxx/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// TODO: Remove this ignore https://github.com/bazelbuild/rules_rust/issues/2842
#![allow(clippy::needless_maybe_sized)]

#[cxx::bridge(namespace = "org::blobstore")]
mod ffi {
// Shared structs with fields visible to both languages.
Expand Down

0 comments on commit 630b53e

Please sign in to comment.