Skip to content

Commit

Permalink
docs(quality_item): fix typo
Browse files Browse the repository at this point in the history
Closes #634
  • Loading branch information
seanmonstar committed Nov 17, 2015
1 parent cbe1176 commit d44ee59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/shared/quality_item.rs
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 d44ee59

Please sign in to comment.