Skip to content

Commit 4ab34ad

Browse files
Oops, rust comment not Python
1 parent 85d392e commit 4ab34ad

File tree

1 file changed

+1
-1
lines changed
  • src/serializers/type_serializers

1 file changed

+1
-1
lines changed

src/serializers/type_serializers/uuid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use super::{
1414
pub(crate) fn uuid_to_string(py_uuid: &Bound<'_, PyAny>) -> PyResult<String> {
1515
let py = py_uuid.py();
1616
let uuid_int_val: u128 = py_uuid.getattr(intern!(py, "int"))?.extract()?;
17-
# we use a little endian conversion for compatibility across platforms, see https://github.com/pydantic/pydantic-core/pull/1372
17+
// we use a little endian conversion for compatibility across platforms, see https://github.com/pydantic/pydantic-core/pull/1372
1818
let uuid = Uuid::from_u128(uuid_int_val.to_le());
1919
Ok(uuid.to_string())
2020
}

0 commit comments

Comments
 (0)