From 88a21d2b5d62164dabdfff9d6bba9eaf762700c4 Mon Sep 17 00:00:00 2001 From: Greg Sleap Date: Mon, 29 Nov 2021 11:59:41 +0800 Subject: [PATCH] Updated sum gpubox rust example to fix missing use statement --- examples/mwalib-sum-gpubox-hdus.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mwalib-sum-gpubox-hdus.rs b/examples/mwalib-sum-gpubox-hdus.rs index 7617ccf..9c94840 100644 --- a/examples/mwalib-sum-gpubox-hdus.rs +++ b/examples/mwalib-sum-gpubox-hdus.rs @@ -4,9 +4,9 @@ /// Given gpubox files, add the contents of their HDUs and report the sum. use anyhow::*; -use structopt::StructOpt; - +use core::result::Result::Ok; use mwalib::*; +use structopt::StructOpt; #[derive(StructOpt, Debug)] #[structopt(name = "mwalib-sum-gpubox-hdus", author)]