15 lines
306 B
Rust
15 lines
306 B
Rust
// Not much to be exercised on `Sync`, just a thing to remember.
|
|
fn outro() -> &'static str {
|
|
"I have a good understanding of __!"
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
use crate::outro;
|
|
|
|
#[test]
|
|
fn test_outro() {
|
|
assert_eq!(outro(), "I have a good understanding of Send and Sync!");
|
|
}
|
|
}
|