aboutsummaryrefslogtreecommitdiff
path: root/src/wal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wal.rs')
-rw-r--r--src/wal.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wal.rs b/src/wal.rs
index c378e0a..aefec36 100644
--- a/src/wal.rs
+++ b/src/wal.rs
@@ -73,7 +73,7 @@ impl Record for String {
fn serialize(&self) -> WALBytes { self.as_bytes().into() }
}
-impl Record for str {
+impl Record for &str {
fn serialize(&self) -> WALBytes { self.as_bytes().into() }
}