[][src]Function rust_docker_sample::echo

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

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);