Skip to content

Commit

Permalink
🐛 Fix get_asset_version example bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nicks96432 committed Dec 6, 2024
1 parent 22c0492 commit 20f4138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifest/src/matsuri_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ pub fn get_all_asset_versions() -> Result<Vec<AssetVersion>, ManifestError> {
/// ```no_run
/// use mltd_asset_manifest::get_asset_version;
///
/// let asset_version = get_asset_version(1).unwrap().version;
/// let asset_version = get_asset_version(1).unwrap();
/// assert_eq!(asset_version.version, 1);
/// ```
pub fn get_asset_version(version: u64) -> Result<AssetVersion, ManifestError> {
Expand Down

0 comments on commit 20f4138

Please sign in to comment.