From 20f413875fe7ac5dfa6d17fd4dbc398430558334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AF=E8=83=BD=E5=BE=88=E5=BB=A2?= Date: Fri, 6 Dec 2024 19:54:50 +0800 Subject: [PATCH] :bug: Fix `get_asset_version` example bug --- manifest/src/matsuri_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest/src/matsuri_api.rs b/manifest/src/matsuri_api.rs index fc3dc10..2424542 100644 --- a/manifest/src/matsuri_api.rs +++ b/manifest/src/matsuri_api.rs @@ -125,7 +125,7 @@ pub fn get_all_asset_versions() -> Result, 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 {