minor readme fix

This commit is contained in:
MaxOhn
2021-02-23 22:52:02 +01:00
parent 328095cfb3
commit 146562dc15
2 changed files with 7 additions and 4 deletions
+4 -3
View File
@@ -4,8 +4,9 @@
A standalone crate to calculate star ratings and performance points for all [osu!](https://osu.ppy.sh/home) gamemodes.
Conversions are generally not supported.
Async is supported.
Conversions between gamemodes are generally not supported.
Async is supported through features, see below.
### Usage
@@ -72,7 +73,7 @@ let file = match File::open("/path/to/file.osu").await {
};
// Parse the map asynchronously
let map = match Beatmap::parse_async(file).await {
let map = match Beatmap::parse(file).await {
Ok(map) => map,
Err(why) => panic!("Error while parsing map: {}", why),
};
+3 -1
View File
@@ -2,7 +2,9 @@
//! A standalone crate to calculate star ratings and performance points for all [osu!](https://osu.ppy.sh/home) gamemodes.
//!
//! Conversions are generally not supported.
//! Conversions between gamemodes are generally not supported.
//!
//! Async is supported through features, see below.
//!
//! ## Usage
//!