Revert non-compiling change.

This commit is contained in:
Sönke Ludwig 2018-07-09 11:58:25 +02:00
parent 20558e4416
commit fae7d3e93d
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -1,7 +1,7 @@
/** /**
Contains routines for high level path handling. Contains routines for high level path handling.
Copyright: © 2012-2017 RejectedSoftware e.K. Copyright: © 2012-2018 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig Authors: Sönke Ludwig
*/ */
@ -384,7 +384,7 @@ struct GenericPath(F) {
single-element range. single-element range.
*/ */
this(Segment segment) this(Segment segment)
nothrow { {
import std.range : only; import std.range : only;
this(only(segment)); this(only(segment));
} }