diff options
| -rw-r--r-- | src/lib.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ pub mod command;  mod xml;  #[cfg(feature = "include-xml")] -const GL_REGISTRY_XML: &str = include_str!("../OpenGL-Registry/xml/gl.xml"); +const GL_REGISTRY_XML: &[u8] = include_bytes!("../OpenGL-Registry/xml/gl.xml");  const REGISTRY_TAG_NAME: &str = "registry"; @@ -53,7 +53,7 @@ impl Registry      #[cfg_attr(doc_cfg, doc(cfg(feature = "include-xml")))]      pub fn retrieve() -> Result<Registry, RegistryError>      { -        Self::retrieve_from_bytes(GL_REGISTRY_XML.as_bytes()) +        Self::retrieve_from_bytes(GL_REGISTRY_XML)      }      /// Retrieves the OpenGL registry from XML bytes.  | 
