Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possessive: its #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod test;

pub use formatting::Formatting;

/// Converts a number to it's written format, using "short" format.
/// Converts a number to its written format, using "short" format.
///
/// Arguments:
/// * `val`: the `i64` to convert
Expand All @@ -27,7 +27,7 @@ pub fn convert(val: i64, fmt: Formatting) -> String
.build(fmt)
}

/// Converts a number to it's written format, using "short" format with all formatting options enabled.
/// Converts a number to its written format, using "short" format with all formatting options enabled.
///
/// # Arguments:
/// * `val` - the `i64` to convert
Expand All @@ -38,7 +38,7 @@ pub fn convert_all_fmt(val: i64) -> String
.build(Formatting::all())
}

/// Converts a number to it's written format, using "short" format with no formatting options enabled.
/// Converts a number to its written format, using "short" format with no formatting options enabled.
///
/// # Arguments:
/// * `val` - the `i64` to convert
Expand All @@ -49,7 +49,7 @@ pub fn convert_no_fmt(val: i64) -> String
.build(Formatting::none())
}

/// Converts a number to it's written format, using "long" format.
/// Converts a number to its written format, using "long" format.
///
/// # Arguments:
/// * `val` - the `i64` to convert
Expand All @@ -59,4 +59,4 @@ pub fn convert_long(val: i64, fmt: Formatting) -> String
groups::Groups::new(val)
.build(true)
.build(fmt)
}
}