Function echo

Source
pub fn echo(msg: &str) -> String
Expand description

Returns an string which has same value with an arugment msg.

§Arguments

  • msg - A string slice

§Examples

use rust_docker_sample::echo;
let msg: &str = "msg...";
let echo_msg = echo(msg);