mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
docs
This commit is contained in:
parent
f5bf991eb0
commit
171c66d53d
@ -79,7 +79,11 @@ impl ItemSpec {
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
// Read everything and checks if it's loading
|
||||
/// # Usage
|
||||
/// Read everything and checks if it's loading
|
||||
///
|
||||
/// # Panics
|
||||
/// 1) If weights are invalid
|
||||
pub fn validate(&self, key: EquipSlot) {
|
||||
match self {
|
||||
ItemSpec::Item(specifier) => std::mem::drop(Item::new_from_asset_expect(&specifier)),
|
||||
|
Loading…
Reference in New Issue
Block a user