mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
Cleanup warnings
This commit is contained in:
parent
0428f9d9f0
commit
cae5f059e8
@ -15,8 +15,6 @@ mod cli;
|
|||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
use recipes::{IngredientAccumulator, Recipe};
|
|
||||||
|
|
||||||
use clap;
|
use clap;
|
||||||
use clap::{clap_app, crate_authors, crate_version};
|
use clap::{clap_app, crate_authors, crate_version};
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
use crate::VolumeMeasure::*;
|
||||||
use crate::*;
|
use crate::*;
|
||||||
use crate::{VolumeMeasure::*, WeightMeasure::*};
|
|
||||||
|
|
||||||
use std::convert::Into;
|
use std::convert::Into;
|
||||||
|
|
||||||
@ -235,8 +235,6 @@ fn test_ingredient_display() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
use Measure::*;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_ratio_parse() {
|
fn test_ratio_parse() {
|
||||||
if let ParseResult::Complete(_, rat) = parse::ratio(StrIter::new("1/2")) {
|
if let ParseResult::Complete(_, rat) = parse::ratio(StrIter::new("1/2")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user