summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-02-22 08:58:03 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-02-22 08:58:03 +0100
commit7b056a771bc75950b9810fd8aae054ef5de28f54 (patch)
tree5409c3b7be7f386a4ce024770355327cf403c767 /src
parent95beb6f2aaf36d38ca1dc3abb7544fb878c45ca0 (diff)
Fix: Dot should be in quotes
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a9d9264..45a3838 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -540,7 +540,7 @@ impl<'docker> Container<'docker> {
///
/// If `path` is not an absolute path, it is relative to the container’s root directory. The
/// resource specified by `path` must exist. To assert that the resource is expected to be a
- /// directory, `path` should end in `/` or `/`. (assuming a path separator of `/`). If `path`
+ /// directory, `path` should end in `/` or `/.` (assuming a path separator of `/`). If `path`
/// ends in `/.` then this indicates that only the contents of the path directory should be
/// copied. A symlink is always resolved to its target.
pub fn copy_from(