17 lines
236 B
Rust
17 lines
236 B
Rust
|
|
||
|
|
||
|
pub trait Encode {
|
||
|
fn write(&self, a: &mut u64) -> String;
|
||
|
}
|
||
|
|
||
|
|
||
|
#[cfg(test)]
|
||
|
mod tests {
|
||
|
// Note this useful idiom: importing names from outer (for mod tests) scope.
|
||
|
use super::*;
|
||
|
|
||
|
#[test]
|
||
|
fn test_href() {
|
||
|
}
|
||
|
}
|