aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-core/src')
-rw-r--r--azalea-core/src/identifier.rs6
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)