fix: documentation of Marshal

the "strict" keyword mentioned in the documentation does not exist
anymore
This commit is contained in:
Olivier Wulveryck
2018-11-19 14:08:12 +01:00
committed by Dan Kortschak
parent e09dcee939
commit d41320af1e

View File

@@ -69,8 +69,7 @@ type Subgrapher interface {
// Marshal returns the DOT encoding for the graph g, applying the prefix // Marshal returns the DOT encoding for the graph g, applying the prefix
// and indent to the encoding. Name is used to specify the graph name. If // and indent to the encoding. Name is used to specify the graph name. If
// name is empty and g implements Graph, the returned string from DOTID // name is empty and g implements Graph, the returned string from DOTID
// will be used. If strict is true the output bytes will be prefixed with // will be used.
// the DOT "strict" keyword.
// //
// Graph serialization will work for a graph.Graph without modification, // Graph serialization will work for a graph.Graph without modification,
// however, advanced GraphViz DOT features provided by Marshal depend on // however, advanced GraphViz DOT features provided by Marshal depend on