Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmooney committed Apr 7, 2022
1 parent 5a85206 commit 1791872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
use version_check;

fn main() {
println!("cargo:rerun-if-changed=build.rs");
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ pub struct Message {
/// this case, or one might decide that a running but degraded application is better than nothing i
/// such a situation. The `ProbeRegistration` enum contains information about whether probes were
/// successfully registered. The caller may decide how to handle such a case.
#[allow(clippy::large_enum_variant)]
#[derive(Debug)]
pub enum ProbeRegistration {
Success,
Expand Down Expand Up @@ -211,7 +212,7 @@ fn create_dtrace_message(record: &slog::Record, values: &slog::OwnedKVList) -> M
}
};
let msg = Message {
location: location,
location,
timestamp: Utc::now(),
level: record.level().as_str().to_string(),
message: record.msg().to_string(),
Expand Down

0 comments on commit 1791872

Please sign in to comment.