diff options
| author | mat <git@matdoes.dev> | 2025-11-13 10:12:26 +0700 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-11-13 10:12:26 +0700 |
| commit | 5ef9ab939500388fb4e636974161eb0959130065 (patch) | |
| tree | 5b9715d73dd3f281995c3f418b5176bf7858bd43 /azalea-core/src | |
| parent | fbaae39cdf9c5a7a34005a51a37b85f7cdd5ea00 (diff) | |
| download | azalea-drasl-5ef9ab939500388fb4e636974161eb0959130065.tar.xz | |
rename resourcelocation in a few more places
Diffstat (limited to 'azalea-core/src')
| -rw-r--r-- | azalea-core/src/identifier.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-core/src/identifier.rs b/azalea-core/src/identifier.rs index d1e46aef..117bf26d 100644 --- a/azalea-core/src/identifier.rs +++ b/azalea-core/src/identifier.rs @@ -1,4 +1,4 @@ -//! An arbitrary string identifier. +//! An arbitrary identifier or resource location. use std::{ fmt, @@ -123,7 +123,7 @@ mod tests { use super::*; #[test] - fn basic_resource_location() { + fn basic_identifier() { let r = Identifier::new("abcdef:ghijkl"); assert_eq!(r.namespace, "abcdef"); assert_eq!(r.path, "ghijkl"); @@ -148,7 +148,7 @@ mod tests { } #[test] - fn azbuf_resource_location() { + fn azbuf_identifier() { let mut buf = Vec::new(); Identifier::new("minecraft:dirt") .azalea_write(&mut buf) |
