Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mre committed Aug 25, 2015
1 parent 44a4010 commit c2690c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/shared/quality_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub fn qitem<T>(item: T) -> QualityItem<T> {
QualityItem::new(item, Default::default())
}

/// Convenience function to create a `Quality` fromt a float.
/// Convenience function to create a `Quality` from a float.
pub fn q(f: f32) -> Quality {
assert!(f >= 0f32 && f <= 1f32, "q value must be between 0.0 and 1.0");
from_f32(f)
Expand Down

0 comments on commit c2690c1

Please sign in to comment.