Skip to content

Commit

Permalink
Minor correction to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilson committed Feb 23, 2022
1 parent b30c3cc commit 922d70a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function divide(x: number, by: number): Result<number, string> {
if (by === 0) {
return Err("Division Failed");
} else {
return Some(x / by);
return Ok(x / by);
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oxide.ts",
"version": "0.9.2",
"version": "0.9.3",
"description": "Rust's Option<T> and Result<T, E>, implemented for TypeScript.",
"main": "dist",
"types": "dist",
Expand Down

0 comments on commit 922d70a

Please sign in to comment.