ea183be56d
This patch adds tests for Rust 1.50.0 which we can mostly copy from 1.49.0. There is only a small change to the abbreviated descriptions in the search index and to edition-specific code.
25 lines
629 B
Plaintext
25 lines
629 B
Plaintext
---
|
|
source: tests/output.rs
|
|
expression: "get_stdout(path, &[\"log::debug\"])"
|
|
---
|
|
log Macro log::debug rusty-man
|
|
|
|
SYNOPSIS
|
|
macro_rules! debug {
|
|
(target: $target:expr, $($arg:tt)+) => { ... };
|
|
($($arg:tt)+) => { ... };
|
|
}
|
|
|
|
DESCRIPTION
|
|
Logs a message at the debug level.
|
|
|
|
# Examples
|
|
|
|
ⓘ
|
|
use log::debug;
|
|
let pos = Position { x: 3.234, y: -1.223 };
|
|
debug!("New position: x: {}, y: {}", pos.x, pos.y);
|
|
debug!(target: "app_events", "New position: x: {}, y: {}", pos.x, pos.y);
|
|
|
|
|